Boost logo

Boost :

From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-05-03 14:33:42


"David B. Held" <dheld_at_[hidden]> wrote in message
news:aauihq$sul$1_at_main.gmane.org...
> I see how c'tors are a problem all around. I tried suggesting some
> alternatives, but the problem is knowing which policies got inherited.
> I'm wondering if the OptionallyInherit strategy can be made to work.

Unless I'm missing a point, it can be made to work if the OptionallyInherit
template provides: a default constructor, a copy constructor that doesn't do
anything, and a template constructor that doesn't do anything.

Andrei


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