[GSoC] Patches for shared_ptr array and polymorphic_allocator

Fan You youfan.noey@gmail.com
Wed Aug 5 23:38:00 GMT 2015


Jonathan Wakely <jwakely@redhat.com>于2015年8月5日周三 下午4:33写道:
>
> On 05/08/15 16:19 -0400, Fan You wrote:
> >According to n3525, few modification also need to be made on
> >std::function, I looked into the code of std/functional and I did see
> >some place marked as "// TODO: needs allocator_arg_t". Can I directly
> >make changes here?
>
> No, because to add polymorphic allocator support would require making
> incompatible changes to std::function (specifically, to the
> _Function_base base class).
>

 So, I don't need to think about this yet? I saw a proposal here
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4067.html>
but I think it hadn't been accepted, right?

>
> As I have said several times, the **experimental** changes in the TS
> need to be kept segregated from the contents of the C++ Standard which
> are meant to be stable.

Sorry for letting you mention this so many times :)

If I don't need to care about std::function now, the only thing left
is adding alias for existing containers?



More information about the Libstdc++ mailing list