Boost logo

Boost :

From: Terje Slettebø (tslettebo_at_[hidden])
Date: 2002-12-10 19:03:46


>From: "Terje Slettebø" <tslettebo_at_[hidden]>

> Fails:
>
> struct X { ~X() {} int n; };
> struct Y : X {};
>
> Succeeds:
>
> struct X { ~X() {} };
> struct Y : X { int n; };

Sorry, the destructors should of course be virtual in the above.

Terje


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