[GSoC] __enable_shared_from_this_helper

Tim Shen timshen@google.com
Fri May 1 22:14:00 GMT 2015


On Fri, May 1, 2015 at 10:02 AM, Fan You <youfan.noey@gmail.com> wrote:
> This is can be combined with the first approach right? by merging
> _Sp_counted_ptr with _Sp_shared_deleter into _Sp_shared_array.

Why it's related to the first approach? First one doesn't even change
__shared_ptr, if you like;

Second one changes __shared_ptr, __shared_count, and creates a new
derived class of _Sp_counted_base.


-- 
Regards,
Tim Shen



More information about the Libstdc++ mailing list