1 // Copyright Daniel Wallin 2006. 2 // Distributed under the Boost Software License, Version 1.0. 3 // (See accompanying file LICENSE_1_0.txt or copy at 4 // http://www.boost.org/LICENSE_1_0.txt) 5 6 #ifndef BOOST_PARAMETER_AUX_AS_LVALUE_HPP 7 #define BOOST_PARAMETER_AUX_AS_LVALUE_HPP 8 9 namespace boost { namespace parameter { namespace aux { 10 11 template <typename T> as_lvalue(T const & value)12 T const& as_lvalue(T const& value) 13 { 14 return value; 15 } 16 17 template <typename T> as_lvalue(T & value)18 T& as_lvalue(T& value) 19 { 20 return value; 21 } 22 }}} // namespace boost::parameter::aux 23 24 #endif // include guard 25 26