[v3] c++0x includes

Gabriel Dos Reis gdr@cs.tamu.edu
Sun Mar 11 15:11:00 GMT 2007


"Peter Dimov" <pdimov@mmltd.net> writes:

| 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.

Well, that may actually be C++03 without C++0x. :-/

-- Gaby



More information about the Libstdc++ mailing list