[v3] c++0x includes

Peter Dimov pdimov@mmltd.net
Sun Mar 11 14:59:00 GMT 2007


Doug Gregor wrote:

> What we need is for the C++ committee to define a new value of
> __cplusplus for C++0x, so C libraries can start doing the right
> thing...

I think that you can detect C++0x without knowing the exact value by using 
#if __cplusplus > 199711L. 



More information about the Libstdc++ mailing list