From c11e08b6b71d3a2ae917f1495d344f5eeb2a1ffb Mon Sep 17 00:00:00 2001 From: "Vicente J. Botet Escriba" Date: Mon, 26 Mar 2012 17:07:17 +0000 Subject: [PATCH] Utility: Rollback unwanted commit while adding noexcept to boost::declval [SVN r77562] --- include/boost/utility/declval.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/utility/declval.hpp b/include/boost/utility/declval.hpp index 54b3158..2924cd7 100644 --- a/include/boost/utility/declval.hpp +++ b/include/boost/utility/declval.hpp @@ -37,13 +37,13 @@ namespace boost { -#if !defined(BOOST_NO_RVALUE_REFERENCES) +//#if !defined(BOOST_NO_RVALUE_REFERENCES) template typename add_rvalue_reference::type declval() BOOST_NOEXCEPT; // as unevaluated operand -#else - template - typename add_lvalue_reference::type declval() BOOST_NOEXCEPT; // as unevaluated operand -#endif +//#else +// template +// typename add_lvalue_reference::type declval() BOOST_NOEXCEPT; // as unevaluated operand +//#endif } // namespace boost #endif // BOOST_TYPE_TRAITS_EXT_DECLVAL__HPP