]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/qvm/detail/remove_const.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / qvm / detail / remove_const.hpp
CommitLineData
1e59de90
TL
1#ifndef BOOST_QVM_DETAIL_REMOVE_CONST_HPP_INCLUDED
2#define BOOST_QVM_DETAIL_REMOVE_CONST_HPP_INCLUDED
92f5a8d4 3
1e59de90 4// Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
92f5a8d4 5
1e59de90
TL
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
9namespace boost { namespace qvm {
92f5a8d4
TL
10
11namespace
1e59de90 12qvm_detail
92f5a8d4 13 {
1e59de90
TL
14 template <class T>
15 struct
16 remove_const
92f5a8d4 17 {
1e59de90
TL
18 typedef T type;
19 };
92f5a8d4 20
1e59de90
TL
21 template <class T>
22 struct
23 remove_const<T const>
24 {
25 typedef T type;
26 };
92f5a8d4
TL
27 }
28
1e59de90
TL
29} }
30
92f5a8d4 31#endif