[Boost-bugs] [Boost C++ Libraries] #10698: noexcept(true) for ~noncopyable?

Subject: [Boost-bugs] [Boost C++ Libraries] #10698: noexcept(true) for ~noncopyable?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-25 14:38:44


#10698: noexcept(true) for ~noncopyable?
------------------------------+---------------------------
 Reporter: olafvdspek@… | Owner: no-maintainer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: utility
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------
 Shouldn't ~noncopyable be noexcept?

 I'm seeing this error:

 {{{
 class Cconnection : public Cclient, boost::noncopyable

 connection.h:5:7: error: looser throw specifier for ‘virtual
 Cconnection::~Cconnection()’
 In file included from connection.h:3:0,
                  from connection.cpp:2:
 client.h:10:10: error: overriding ‘virtual Cclient::~Cclient() noexcept
 (true)’
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10698>
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