This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [GSoC] __enable_shared_from_this_helper


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]