[Boost-bugs] [Boost C++ Libraries] #7968: swap: Add noexcept to conform with C++11 on compilers supporting it.

Subject: [Boost-bugs] [Boost C++ Libraries] #7968: swap: Add noexcept to conform with C++11 on compilers supporting it.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-03 07:10:59


#7968: swap: Add noexcept to conform with C++11 on compilers supporting it.
------------------------------+---------------------------------------------
 Reporter: viboes | Owner: joseph.gauterin
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: swap
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 {{{

 template<class T> void swap(T& a, T& b) noexcept(see below );
 1 Remark: The expression inside noexcept is equivalent to:
 is_nothrow_move_constructible<T>::value &&
 is_nothrow_move_assignable<T>::value

 template<class T, size_t N>
 void swap(T (&a)[N], T (&b)[N]) noexcept(noexcept(swap(*a, *b)));
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7968>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC