blob: 5a3a256ff43af4fe682a329f95ed86e703003937 [file] [log] [blame]
Jeff Thompsonf7d49942013-08-01 16:47:40 -07001// Copyright 2010 John Maddock
2
3// Distributed under the Boost Software License, Version 1.0.
4// See http://www.boost.org/LICENSE_1_0.txt
5
6#ifndef BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP
7#define BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP
8
Jeff Thompson2277ce52013-08-01 17:34:11 -07009#include <ndnboost/type_traits/add_reference.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070010
11// should be the last #include
Jeff Thompson2277ce52013-08-01 17:34:11 -070012#include <ndnboost/type_traits/detail/type_trait_def.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070013
14namespace ndnboost{
15
16BOOST_TT_AUX_TYPE_TRAIT_DEF1(add_lvalue_reference,T,typename ndnboost::add_reference<T>::type)
17
18#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
19BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,add_lvalue_reference,T&&,T&)
20#endif
21
22}
23
Jeff Thompson2277ce52013-08-01 17:34:11 -070024#include <ndnboost/type_traits/detail/type_trait_undef.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070025
26#endif // BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP