This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++14 library functions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]