From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2019-10-16 17:38:01
On Wed, Oct 16, 2019 at 12:01 AM Alexander Grund via Boost <
> Am 15.10.19 um 22:45 schrieb Emil Dotchevski via Boost:
> > The warning is not correct, and making the destructor virtual is wrong,
> > because by design it is a bug to delete the base pointer type. I just
> > disabled the warning for MSVC.
> The warning is "Virtual class has non-virtual destructor so deleting it
> through a base class will lead to bugs", which is correct, isn't it?
The destructor is not virtual by design, not by mistake. The code is
correct as written, so the warning is to be silenced.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk