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