Boost logo

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? has been waiting for over a

> don't think that this can be done, as in make_shared's case,
> non-intrusively.

Why is that a problem?


Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at