This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: C++14 library functions
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Chris Jefferson <chris at bubblescope dot net>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 2 Nov 2012 12:27:27 +0100 (CET)
- Subject: Re: C++14 library functions
- References: <5093AB62.7050501@bubblescope.net>
- Reply-to: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
On Fri, 2 Nov 2012, Chris Jefferson wrote:
n3421 ( http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3421.htm )
fixes something which has always annoyed me (having to write
std::greater<int>, instead of just std::greater), and has been accepted into
the C++14 draft.
Would a patch adding this be accepted? Is there any standard on how to mark
such things up (a macro for C++14?), or just include it as is. It won't break
any existing code.
There is already -std=c++1y, it could be made to define
__GXX_EXPERIMENTAL_CXX1Y__ in c-family/c-cppbuiltin.c.
--
Marc Glisse