Ooops, revert to using add_reference for C++98 compilers.

This commit is contained in:
jzmaddock
2015-06-14 12:43:27 +01:00
parent 979fc5b293
commit c4243e2914

View File

@ -137,7 +137,7 @@ namespace boost {
// };
BOOST_STATIC_CONSTANT(bool, value = (
sizeof(test(
boost::declval</*BOOST_DEDUCED_TYPENAME boost::add_reference<T const>::type*/ const T&>()
boost::declval<BOOST_DEDUCED_TYPENAME boost::add_reference<T const>::type>()
)) == sizeof(boost::type_traits::yes_type)
&&
!boost::is_rvalue_reference<T>::value