mirror of
https://github.com/boostorg/utility.git
synced 2025-07-29 20:37:32 +02:00
Utility: Fix for Adding noexcept to boost::declval
[SVN r77552]
This commit is contained in:
@ -39,7 +39,7 @@ namespace boost {
|
||||
|
||||
#if !defined(BOOST_NO_RVALUE_REFERENCES)
|
||||
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
|
||||
template <typename T>
|
||||
typename add_lvalue_reference<T>::type declval() BOOST_NOEXCEPT; // as unevaluated operand
|
||||
|
Reference in New Issue
Block a user