This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] [C++14] Implement N3657: heterogeneous lookup in associative containers.
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 22 Jan 2015 02:03:55 +0000
- Subject: Re: [patch] [C++14] Implement N3657: heterogeneous lookup in associative containers.
- Authentication-results: sourceware.org; auth=none
- References: <20150119171608 dot GM3360 at redhat dot com> <20150120120015 dot GU3360 at redhat dot com> <54C0287C dot 5020502 at gmail dot com>
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.