/* SPDX-FileCopyrightText: 2015-2016 Ivan Cukic SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef PTR_TO_H #define PTR_TO_H namespace kamd { namespace utils { enum { Const = 0, Mutable = 1, }; template struct ptr_to { typedef const T *const type; }; template struct ptr_to { typedef T *const type; }; } // namespace utils } // namespace kamd #endif // PTR_TO_H