C++14 library functions

Marc Glisse marc.glisse@inria.fr
Fri Nov 2 11:27:00 GMT 2012


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



More information about the Libstdc++ mailing list