diff options
Diffstat (limited to 'contrib/src/boost/type_traits/add_lvalue_reference.hpp')
-rw-r--r-- | contrib/src/boost/type_traits/add_lvalue_reference.hpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/contrib/src/boost/type_traits/add_lvalue_reference.hpp b/contrib/src/boost/type_traits/add_lvalue_reference.hpp index 942c223..41851a1 100644 --- a/contrib/src/boost/type_traits/add_lvalue_reference.hpp +++ b/contrib/src/boost/type_traits/add_lvalue_reference.hpp @@ -1,27 +1,27 @@ -// 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
+// 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 |