Skip to content

#989 Use C++11 instead of C++0X

Metadata

Property Value
Reported by Christoph Grüninger (gruenich@iws.uni-stuttgart.de)
Reported at Dec 7, 2011 13:18
Type Discussion
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Christoph Grüninger (gruenich@iws.uni-stuttgart.de)
Last edited at Jun 21, 2014 18:11
Closed by Christoph Grüninger (gruenich@iws.uni-stuttgart.de)
Closed at Jun 21, 2014 18:11
Closed in version Unknown
Resolution Fixed
Comment

Description

We need to change from the outdated working title "C++0X" to the name of the current standard "C++11" [0,1]. This does not only apply to documentation. For example in dune-common/m4 several files are called cxx0x_* and one Test is called CXX0X. It'll get tricky with the release of GCC 4.7 because they will change the compiler option from -std=c++0x to std=c++11 [2]. The C++11 support in GCC 4.7 will not be backwards compatible with the C++0X support in the already released GCCs [3].

Does someone know about other compilers like LLVM/clang or ICC? Are there Dune users using GCC 4.7 trunk?

[0] http://lists.dune-project.org/pipermail/dune/2011-August/009055.html [1] http://en.wikipedia.org/wiki/C%2B%2B11 [2] http://gcc.gnu.org/projects/cxx0x.html [3] http://gcc.gnu.org/ml/gcc/2011-12/msg00069.html