|
Boost : |
From: Darin Adler (darin_at_[hidden])
Date: 2000-03-13 10:16:20
> If I may be so bold, I would like to suggest adding "Qualified" bit,
> and doubling the number of types. By "Qualified", I mean passing
> through the constness, such that a "const shared_ptr" dereferences to
> a pointer to a const object. I have found my own hastily-assembled
> const_scoped_ptr to be quite helpful. In fact, I have yet to find a
> need (in my own code) for the non-qualified version.
I believe this already works fine without adding new classes. In what way is
const_scoped_ptr<X> superior to scoped_ptr<const X>?
-- Darin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk