[v3] add max_size and rebind to __alloc_traits

Paolo Carlini paolo.carlini@oracle.com
Fri Oct 7 16:23:00 GMT 2011


On 10/06/2011 03:59 PM, Jonathan Wakely wrote:
> Yep, I haven't looked into it yet but I agree with Daniel's analysis
> (except that propagate_on_container_swap must be a type, not a static
> member)
>
> We already have separate tests (using propagating_allocator) which
> test the behaviour for non-equal allocators that don't propogate on
> container swap, so I see no harm in changing the behaviour of
> uneq_allocator by adding:
>
> typedef true_type propagate_on_container_swap;
>
I went ahead and applied the below... a little less noise.

Paolo.

/////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20111007/23111b00/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patchlet
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20111007/23111b00/attachment-0001.ksh>


More information about the Libstdc++ mailing list