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] Patches for shared_ptr array and polymorphic_allocator


Sorry, it's a mistake. Fixed, patch updated.

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?

Jonathan Wakely <jwakely@redhat.com>ä2015å8æ4æåä äå5:02åéï
>
> On 31/07/15 17:51 -0700, Tim Shen wrote:
> >+      bool _M_supported (size_t __x)
> >+      { return ((__x != 0) && (__x != 0) && !(__x & (__x - 1))); }
> >
> >Documentation? Also make it static.
>
> Why does it test the first condition twice?
>
-- 
Regards,

Fan

Attachment: a
Description: Binary data


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