Sha256: cf6d2be76a1b966ed11d07e3327221144f01b0f398617230e7ada11de3b5614b

Contents?: true

Size: 619 Bytes

Versions: 28

Compression:

Stored size: 619 Bytes

Contents

//  Copyright 2010 John Maddock

//  Distributed under the Boost Software License, Version 1.0.
//  See http://www.boost.org/LICENSE_1_0.txt

#ifndef BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP
#define BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP

#include <boost/type_traits/add_reference.hpp>

namespace boost{

template <class T> struct add_lvalue_reference
{
   typedef typename boost::add_reference<T>::type type; 
};

#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
template <class T> struct add_lvalue_reference<T&&>
{
   typedef T& type;
};
#endif

}

#endif  // BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
passenger-5.3.3 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.3.2 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.3.1 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.3.0 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.2.3 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.2.2 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.2.1 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.2.0 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.12 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.11 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.10 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.9 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.8 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.7 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.6 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.5 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.4 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.3 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.2 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp
passenger-5.1.1 src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp