| 1 | #ifndef BOOST_QVM_DETAIL_REMOVE_CONST_HPP_INCLUDED |
| 2 | #define BOOST_QVM_DETAIL_REMOVE_CONST_HPP_INCLUDED |
| 3 | |
| 4 | // Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc. |
| 5 | |
| 6 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 7 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 8 | |
| 9 | namespace boost { namespace qvm { |
| 10 | |
| 11 | namespace |
| 12 | qvm_detail |
| 13 | { |
| 14 | template <class T> |
| 15 | struct |
| 16 | remove_const |
| 17 | { |
| 18 | typedef T type; |
| 19 | }; |
| 20 | |
| 21 | template <class T> |
| 22 | struct |
| 23 | remove_const<T const> |
| 24 | { |
| 25 | typedef T type; |
| 26 | }; |
| 27 | } |
| 28 | |
| 29 | } } |
| 30 | |
| 31 | #endif |
| 32 | |