|
Boost : |
Subject: Re: [boost] Status of boost::make_shared_array
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-10-24 13:20:38
Hi Olaf,
Yes, I can review and apply patches. Regarding #4637, the patch makes the
following assumptions: (1) that an array of size 0 should create a NULL
pointer, which is not what new T[0] does, and (2) that the array should be
value-initialized, which may not be what the majority of the users want.
These design decisions should be discussed here among the scoped_array users
and settling them is a prerequisite for this patch to go in.
Incidentally, you'll need to make these same choices for make_shared_array
as well.
-----Original Message-----
From: Olaf van der Spek
Sent: Wednesday, October 19, 2011 20:00
To: boost_at_[hidden]
Subject: Re: [boost] Status of boost::make_shared_array
On Wed, Oct 19, 2011 at 12:26 AM, Peter Dimov <pdimov_at_[hidden]> wrote:
> Olaf van der Spek wrote:
>
>>>> I don't have the time now to implement make_shared_array, sorry.
>>>
>>> Can I help in any way?
>
> The only way you can help is by implementing it, I guess. Unfortunately, I
Do you have time to review and commit patches?
https://svn.boost.org/trac/boost/ticket/4637 has been waiting for over a
year.
> don't think that this can be done, as in make_shared's case,
> non-intrusively.
Why is that a problem?
Olaf
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk