1 /*//////////////////////////////////////////////////////////////////////////////
2 Copyright (c) 2014 Jamboree
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
10 #include <boost/type_traits/remove_cv.hpp>
11 #include <boost/type_traits/remove_reference.hpp>
14 namespace boost { namespace spirit { namespace x3
17 struct unrefcv : remove_cv<typename remove_reference<T>::type> {};
20 using unrefcv_t = typename unrefcv<T>::type;