[patch] Constrain allocator_arg_t to only work with valid Allocators
Tue Jun 30 15:02:00 GMT 2015
On 30/06/15 15:49 +0100, Jonathan Wakely wrote:
>I'm also playing with another change to make allocator_traits<A>
>SFINAE-friendly, by only defining the nested allocator_type member
>when __is_allocator<A> is true. If it works I think that might be
Something like this, although with the __alloc_arg_t helper I don't
have an immediate use for a SFINAE-friendly allocator_traits.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1520 bytes
Desc: not available
More information about the Libstdc++