Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] make_shared_array/allocate_shared_arrayfunction templates
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-11-09 11:47:27

Roman Kecher wrote:
> Hi,
> I'm suggesting to add the following function templates to allow easy,
> exception-safe, creation of shared_array objects:
> - make_shared_array (very similar to make_shared which is used to
> create a shared_ptr)
> - allocate_shared_array (again, same functionality like
> allocate_shared)
> Is there any reason not to include these?

No, there is no reason to not include them. We just need a volunteer. :-)

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