diff options
Diffstat (limited to '3rdParty/Boost/src/boost/utility/declval.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/utility/declval.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/3rdParty/Boost/src/boost/utility/declval.hpp b/3rdParty/Boost/src/boost/utility/declval.hpp index 41ec3dc..d74610c 100644 --- a/3rdParty/Boost/src/boost/utility/declval.hpp +++ b/3rdParty/Boost/src/boost/utility/declval.hpp @@ -13,6 +13,7 @@ //----------------------------------------------------------------------------// #include <boost/type_traits/add_rvalue_reference.hpp> +//#include <boost/type_traits/add_lvalue_reference.hpp> //----------------------------------------------------------------------------// // // @@ -36,9 +37,13 @@ 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 +//#endif } // namespace boost #endif // BOOST_TYPE_TRAITS_EXT_DECLVAL__HPP |