Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] scoped_array / shared_array (size_t) constructor
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2011-11-04 13:14:09


On Friday, November 04, 2011 17:35:11 Olaf van der Spek wrote:
> On Fri, Nov 4, 2011 at 5:02 PM, Andrey Semashev
>
> > I still don't like the idea. If you really want to add this feature,
> > please
> Why not?

I've already expressed my opinion in my first post in this thread. It breaks
interface without adding any significant value. It makes the interface
ambiguous.

> > retain the current interface intact. You could add a special manipulator
> > to
> > make the allpcation request explicit, like this:
> What *exactly* is the interface you'd like to retain?

I want the smart pointer to be initializable with pointers. This includes
explicit NULL.


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