From: Alexander Grund (alexander.grund_at_[hidden])
Date: 2019-10-15 09:06:31
Am 15.10.19 um 10:48 schrieb Andrey Semashev via Boost:
> On 2019-10-15 10:06, Alexander Grund via Boost wrote:
>> Where does 'exception.hpp' come from? I'd expect it at
>> but it isn't there...
> It's in https://github.com/boostorg/throw_exception.
Then it looks like the warning is indeed correct:
`error_info_container` has a non-virtual dtor although it does have
other virtual methods and the derived class has a `delete this` but is
not final. Hence the compiler can't be sure that there isn't another
Any reason to NOT make the dtor virtual? Performance degrade can be
resolved by making the derived class final (where supported which should
be almost everywhere nowadays)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk