1 // Copyright 2010 John Maddock
3 // Distributed under the Boost Software License, Version 1.0.
4 // See http://www.boost.org/LICENSE_1_0.txt
6 #ifndef BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP
7 #define BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP
9 #include <boost/type_traits/add_reference.hpp>
13 template <class T> struct add_lvalue_reference
15 typedef typename boost::add_reference<T>::type type;
18 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
19 template <class T> struct add_lvalue_reference<T&&>
27 #endif // BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP