Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

Commit b2e8c271 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

Introduction to C++: few fixes suggested by Vincent + few additions.

parent b13d7dbc
......@@ -52,14 +52,14 @@
"\n",
"The new major standard is now widely supported by compilers, and introduces many features that are very useful. As it is much more pleasant to use, it would be a shame to restrict ourselves to the older versions of the standard.\n",
"\n",
"However, you may have to tackle legacy code with is written in C++ 98/03, so we indicated as much as possible for each feature presented when it was actually introduced.\n",
"However, you may have to tackle legacy code which is written in C++ 98/03, so we indicated as much as possible for each feature presented when it was actually introduced.\n",
"\n",
"### But which one? 11, 14 or 20?\n",
"\n",
"As indicated above, we tried to specify clearly in which standard specific features were introduced. Few guidelines:\n",
"\n",
"- C++ 14 is now a safe bet for most compilers, so you probably should choose this one instead of C++ 11. Vincent is working on a library named [Gudhi](https://gudhi.inria.fr/) that is rather conservative for the standard use (in the sense they want most users to be able to compile the code without having to install brand new environment) and they switched to C++ 14 a year ago. **check**\n",
"- C++ 17 starts to be widespread as well, but it is still fairly recent for some features (for instance filesystem support in the STL requires bleeding edge gcc compiler). Sébastien is using it for the library he is working on ([MoReFEM](https://gitlab.inria.fr/MoReFEM/CoreLibrary/MoReFEM)).\n",
"- C++ 14 is now a safe bet for most compilers, so you should probably choose this one instead of C++ 11. Vincent is working on a library named [Gudhi](https://gudhi.inria.fr/) that is rather conservative for the standard use (in the sense they want most users to be able to compile the code without having to install brand new environment) and they switched to C++ 14 in August 2019.\n",
"- C++ 17 starts to be widespread as well, but it is still fairly recent for some features (for instance filesystem support in the STL requires bleeding edge gcc compiler). Sébastien is using it for the library he is working on ([MoReFEM](https://gitlab.inria.fr/MoReFEM/CoreLibrary/MoReFEM)) since its introduction but had to use [Boost filesystem library](https://www.boost.org/doc/libs/1_72_0/libs/filesystem/doc/index.htm) instead of STL counterpart until February 2020 due to lack of support by gcc and macOS.\n",
"\n",
"### And C++ 20?\n",
"\n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment