]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/spirit/home/x3/support/utility/unrefcv.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / spirit / home / x3 / support / utility / unrefcv.hpp
1 /*//////////////////////////////////////////////////////////////////////////////
2 Copyright (c) 2014 Jamboree
3
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //////////////////////////////////////////////////////////////////////////////*/
7 #ifndef BOOST_SPIRIT_X3_UNREFCV_HPP_INCLUDED
8 #define BOOST_SPIRIT_X3_UNREFCV_HPP_INCLUDED
9
10 #include <boost/type_traits/remove_cv.hpp>
11 #include <boost/type_traits/remove_reference.hpp>
12
13
14 namespace boost { namespace spirit { namespace x3
15 {
16 template <typename T>
17 struct unrefcv : remove_cv<typename remove_reference<T>::type> {};
18
19 template <typename T>
20 using unrefcv_t = typename unrefcv<T>::type;
21 }}}
22
23
24 #endif
25