Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-12-21 12:56:58


From: "Fernando Cacciola" <fcacciola_at_[hidden]>
> On second thought, this conclusion leads me back to my original proposal:
> use the technique of grin_ptr<> with
> scoped_ptr<>.
>
> It doesn't make sense to change scoped_ptr<> though,

[...]

On second thought, this actually makes sense to me. Scoped_ptr requirements
will change slightly, in that it will require a complete type only when its
constructor is instantiated.

sizeof(scoped_ptr) will increase, but since scoped_ptr is noncopyable, this
will not have much impact (it's not meant to be put in containers.)

--
Peter Dimov
Multi Media Ltd.

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