mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Utility: Fix for Adding noexcept to boost::declval
[SVN r77552]
This commit is contained in:
parent
799b066e7d
commit
2cfe775694
@ -39,7 +39,7 @@ namespace boost {
|
|||||||
|
|
||||||
#if !defined(BOOST_NO_RVALUE_REFERENCES)
|
#if !defined(BOOST_NO_RVALUE_REFERENCES)
|
||||||
template <typename T>
|
template <typename T>
|
||||||
typename add_rvalue_reference<T>::type declval(); //noexcept; // as unevaluated operand
|
typename add_rvalue_reference<T>::type declval() BOOST_NOEXCEPT; // as unevaluated operand
|
||||||
#else
|
#else
|
||||||
template <typename T>
|
template <typename T>
|
||||||
typename add_lvalue_reference<T>::type declval() BOOST_NOEXCEPT; // as unevaluated operand
|
typename add_lvalue_reference<T>::type declval() BOOST_NOEXCEPT; // as unevaluated operand
|
||||||
|
Loading…
x
Reference in New Issue
Block a user