]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/type_traits/remove_cv_ref.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / type_traits / remove_cv_ref.hpp
1
2 // (C) Copyright Peter Dimov 2017.
3 // Use, modification and distribution are subject to the Boost Software License,
4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt).
6 //
7 // See http://www.boost.org/libs/type_traits for most recent version including documentation.
8
9
10 #ifndef BOOST_TT_REMOVE_CV_REF_HPP_INCLUDED
11 #define BOOST_TT_REMOVE_CV_REF_HPP_INCLUDED
12
13 #include <boost/config.hpp>
14 #include <boost/type_traits/remove_cv.hpp>
15 #include <boost/type_traits/remove_reference.hpp>
16
17 namespace boost {
18
19 template <class T> struct remove_cv_ref: remove_cv<typename remove_reference<T>::type> {};
20
21
22 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
23
24 template <class T> using remove_cv_ref_t = typename remove_cv_ref<T>::type;
25
26 #endif
27
28 } // namespace boost
29
30 #endif // BOOST_TT_REMOVE_CV_REF_HPP_INCLUDED