[ PATCH ] [ C++ ] [ libstdc++ ] P0674r1 - Extend support for arrays in make/allocate_shared
Jonathan Wakely
jwakely@redhat.com
Fri Jan 3 15:05:00 GMT 2020
On 02/01/20 17:16 -0500, JeanHeyd Meneide wrote:
> This implementation does not update the internal
>__allocate_shared and __make_shared functions (I don't know why there
>seems to be a duplicate front-end for those functions: it seems a
>little weird to use both? Maybe it's for legacy reasons, albeit if
>that is the case then I don't need to update the internal versions and
>people should move to the non-internal version, yes?).
Those functions return a __shared_ptr<T, Lp> not a shared_ptr<T>.
It's OK to not update them, if anybody is using them they can submit
patches to add array support themselves.
More information about the Libstdc++
mailing list