
5 Nov
2009
5 Nov
'09
9:50 p.m.
On Nov 5, 2009, at 2:04 PM, Emil Dotchevski wrote:
- non-virtual-dtor on GCC contradicts a valid design choice.
At least in recent versions of gcc, this warning is not generated when there is a non-public dtor. A public non-virtual dtor for a base class seems like a request for slicing bugs rather than a valid design choice.