Boost logo

Boost :

Subject: Re: [boost] [variant] static_visitor has no virtual destructor.
From: Pierre Talbot (ptalbot_at_[hidden])
Date: 2012-11-07 13:45:46


On 11/07/2012 07:40 PM, Krzysztof Czainski wrote:
> I think your compiler is wrong about this. Please see "Guideline #4: A base
> class destructor should be either public and virtual, or protected and
> nonvirtual." [1] ;-)
>
> HTH, Kris
>
> [1]http://www.gotw.ca/publications/mill18.htm

Thank you, I'll read it carefully.

Pierre T.


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