c++0x is c++11

This commit is contained in:
Sébastien Loriot 2012-10-04 08:27:11 +00:00
parent 88a8731ebf
commit 1856f12f18
1 changed files with 5 additions and 4 deletions

View File

@ -99,13 +99,14 @@ to force its definition on the command line, and it is possible to prevent its d
definition by setting \ccc{CGAL_HAS_NO_THREADS} from the command line. definition by setting \ccc{CGAL_HAS_NO_THREADS} from the command line.
\section{C++0x Support} \section{C++11 Support}
\cgal\ is based on the \CC\ standard released in 1998 (and later refined in 2003). \cgal\ is based on the \CC\ standard released in 1998 (and later refined in 2003).
A new major version of this standard is being prepared, and is refered to as C++0x. A new major version of this standard has been released, and is refered to as C++11.
Some compilers and standard library implementations already provide some of the Some compilers and standard library implementations already provide some of the
functionality of this new standard, as a preview. For example, \gcc\ provides functionality of this new standard. For example, \gcc\ provides
a command-line switch \ccc{-std=c++0x} which enables some of those features. a command-line switch (\ccc{-std=c++0x} or \ccc{-std=c++11} depending on the compiler version)
which enables some of those features.
\cgal\ attempts to support this mode progressively, and already makes use of \cgal\ attempts to support this mode progressively, and already makes use of
some of these features if they are available, although no extensive support has some of these features if they are available, although no extensive support has