From: Philippe A. Bouchard (philippe_at_[hidden])
Date: 2003-09-29 17:26:59
David Abrahams wrote:
> "Powell, Gary" <powellg_at_[hidden]> writes:
>> I'm a little concerned that it appears you can create bad pointers
>> for this class by inadvertently not using placement new. I'd feel
>> better about it if there was some way to prevent this.
> Generic smart pointer factories are the right way:
> shifted_ptr<U> p = make_shifted_ptr<T>(arg1, arg2, arg3,
Yes exactly. This has more potential.
My apologies again for the documentation... I would like a second review if
possible. I have to mention that smart pointers is a couscious subject ;)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk