18 Nov
2014
18 Nov
'14
3:59 p.m.
On Tue, Nov 18, 2014 at 6:56 PM, Olaf van der Spek
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)’
Destructors are implicitly noexcept.