[patch] [C++14] Implement N3657: heterogeneous lookup in associative containers.

Jonathan Wakely jwakely@redhat.com
Thu Jan 22 02:04:00 GMT 2015


On 21/01/15 23:30 +0100, François Dumont wrote:
>On 20/01/2015 13:00, Jonathan Wakely wrote:
>>On 19/01/15 17:16 +0000, Jonathan Wakely wrote:
>>>This is the last missing piece of the C++14 library, as proposed in
>>>http://www.open-std.org/JTC1/sc22/wg21/docs/papers/2013/n3657.htm
>>>
>>>Tested x86_64-linux, *not* committed.
>>
>>Now committed to trunk.
>>
>Is it ok then to commit attached patch to do the same for debug mode ?

Definitely not like that, your patch adds the functions
unconditionally, but they must not participate in overload resolution
unless the comparison function defines an is_transparent member type.

I won't be too concerned if these new functions aren't available in
Debug Mode for the next release, we can add them later.



More information about the Libstdc++ mailing list