Boost logo

Boost :

Subject: Re: [boost] [exception] warning about non-virtual destructor - resolution?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-04-15 06:34:07


On Sun, Apr 15, 2012 at 10:54 AM, Andrey Semashev
<andrey.semashev_at_[hidden]> wrote:
> Using a separate implementation of checked_delete in shared_ptr is what I had
> in mind. And this implementation should not be public, I think.

Isn't the type guaranteed to be complete when shared_ptr calls delete?

-- 
Olaf

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk