[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

checking for std=c++0x

From: Helmut Jarausch
Subject: checking for std=c++0x
Date: 26 Mar 2011 17:03:37 GMT
User-agent: Pan/0.134 (Wait for Me; GIT cb32159 master)


I'd like to check if g++ has been invoked with the
-std=c++0x command line option.

I could only find the preprocessor variable

But some time - the C++0x standard gets accepted today - it won't be
experimental any longer.
So, is there a (long term) possibility to check if g++ (or even better 
any c++ compiler) supports the new standard?

Many thanks for a hint,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]