Ticket #6570: declval_noexcept.patch

File declval_noexcept.patch, 475 bytes (added by Michel Morin <mimomorin@…>, 11 years ago)

A patch for boost/utility/declval.hpp (against trunk).

  • boost/utility/declval.hpp

     
    3737namespace boost {
    3838
    3939    template <typename T>
    40     typename add_rvalue_reference<T>::type declval(); //noexcept; // as unevaluated operand
     40    typename add_rvalue_reference<T>::type declval() BOOST_NOEXCEPT; // as unevaluated operand
    4141
    4242}  // namespace boost
    4343