mirror of
https://github.com/boostorg/type_traits.git
synced 2025-07-31 13:07:22 +02:00
Ooops, revert to using add_reference for C++98 compilers.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user