Boost C++ Libraries: Ticket #10698: noexcept(true) for ~noncopyable? https://svn.boost.org/trac10/ticket/10698 <p> Shouldn't ~noncopyable be noexcept? </p> <p> I'm seeing this error: </p> <pre class="wiki">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)’ </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10698 Trac 1.4.3 Andrey Semashev Sat, 08 Jul 2017 20:05:27 GMT <link>https://svn.boost.org/trac10/ticket/10698#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10698#comment:1</guid> <description> <p> Destructors are <code>noexcept</code> implicitly. What you're seeing is a compiler bug (is it gcc 4.7?) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Sat, 08 Jul 2017 20:06:00 GMT</pubDate> <title>owner, component changed https://svn.boost.org/trac10/ticket/10698#comment:2 https://svn.boost.org/trac10/ticket/10698#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">No-Maintainer</span> to <span class="trac-author">Peter Dimov</span> </li> <li><strong>component</strong> <span class="trac-field-old">utility</span> → <span class="trac-field-new">core</span> </li> </ul> Ticket Andrey Semashev Sat, 08 Jul 2017 20:06:27 GMT cc set https://svn.boost.org/trac10/ticket/10698#comment:3 https://svn.boost.org/trac10/ticket/10698#comment:3 <ul> <li><strong>cc</strong> <span class="trac-author">Andrey Semashev</span> added </li> </ul> Ticket