Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77552 - trunk/boost/utility
From: vicente.botet_at_[hidden]
Date: 2012-03-25 19:17:40


Author: viboes
Date: 2012-03-25 19:17:39 EDT (Sun, 25 Mar 2012)
New Revision: 77552
URL: http://svn.boost.org/trac/boost/changeset/77552

Log:
Utility: Fix for Adding noexcept to boost::declval
Text files modified:
   trunk/boost/utility/declval.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/utility/declval.hpp
==============================================================================
--- trunk/boost/utility/declval.hpp (original)
+++ trunk/boost/utility/declval.hpp 2012-03-25 19:17:39 EDT (Sun, 25 Mar 2012)
@@ -39,7 +39,7 @@
 
 #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


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk