Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-01-12 21:33:55

> To avoid that you might design a smart pointer which allocated
> objects itself rather than taking in raw pointers from the outside
> world. That would eliminate that particular screw-up, although how
> it would get the correct constructor arguments I haven't a clue.

Simple: use a family of forwarding template constructors (probably you have
to give up on VC6, then).


Boost list run by bdawes at, gregod at, cpdaniel at, john at