blob: 592efc59510f17704d94dc462e94fd8c6c814f10 [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
Jeff Thompson3d613fd2013-10-15 15:39:04 -07006#ifndef NDNBOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP
7#define NDNBOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP
Jeff Thompsonf7d49942013-08-01 16:47:40 -07008
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
Jeff Thompson3d613fd2013-10-15 15:39:04 -070016NDNBOOST_TT_AUX_TYPE_TRAIT_DEF1(add_lvalue_reference,T,typename ndnboost::add_reference<T>::type)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070017
Jeff Thompson3d613fd2013-10-15 15:39:04 -070018#ifndef NDNBOOST_NO_CXX11_RVALUE_REFERENCES
19NDNBOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,add_lvalue_reference,T&&,T&)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070020#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
Jeff Thompson3d613fd2013-10-15 15:39:04 -070026#endif // NDNBOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP