Re: [Boost-bugs] [Boost C++ Libraries] #10990: cpp_rational is not nothrow move constructible

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10990: cpp_rational is not nothrow move constructible
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-08 18:22:17


#10990: cpp_rational is not nothrow move constructible
-------------------------------------+-------------------------------------
  Reporter: Taras Morozovsky | Owner: johnmaddock
  <taras.morozovsky@…> | Status: closed
      Type: Bugs | Component: multiprecision
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.57.0 | Keywords: multiprecision
Resolution: fixed | cpp_rational move constructor
                                     | noexcept
                                     | is_nothrow_move_constructible
                                     | rational_adaptor
-------------------------------------+-------------------------------------
Changes (by johnmaddock):

 * status: new => closed
 * resolution: => fixed

Comment:

 Thanks, you're right of course, many more fixes in
 https://github.com/boostorg/multiprecision/commit/9927d49cb9d87c022c3ac49b3c8d84ce55ab7dc4.

 Aside: I find it deeply frustrating that noexcept allows you to shoot
 yourself in the foot like this - the very least the compiler could do is
 issue a warning in the case that a noexcept function calls a non-noexcept
 one, otherwise I fear this is painfully easy to break!

 Please reopen if you spot any other issues.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10990#comment:3>
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:17 UTC