mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Utility: Rollback unwanted commit while adding noexcept to boost::declval
[SVN r77562]
This commit is contained in:
parent
2cfe775694
commit
c11e08b6b7
@ -37,13 +37,13 @@
|
|||||||
|
|
||||||
namespace boost {
|
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() BOOST_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
|
||||||
#endif
|
//#endif
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
#endif // BOOST_TYPE_TRAITS_EXT_DECLVAL__HPP
|
#endif // BOOST_TYPE_TRAITS_EXT_DECLVAL__HPP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user