Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-05-03 17:59:22


Hartmut Kaiser:

>> How does this look in code?
>
> struct A
> {
> ~A() {} // non-virtual
> virtual void foo() {}
> };

You forgot to make ~A protected.


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