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 4f0e5b18 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

Clean-up part 4 TPs.

parent 9a5bce58
......@@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# [Getting started in C++](/) - [Templates](/notebooks/4-Templates/0-main.ipynb) - [TP 12](/notebooks/4-Templates/1b-TP.ipynb)"
"# [Getting started in C++](/) - [Templates](./0-main.ipynb) - [TP 12](./1b-TP.ipynb)"
]
},
{
......@@ -23,7 +23,7 @@
"source": [
"### Introduction\n",
"\n",
"[This notebook](/notebooks/TP/HowTo.ipynb) explains very briefly your options to run the TP.\n"
"[This notebook](../TP/HowTo.ipynb) explains very briefly your options to run the TP.\n"
]
},
{
......@@ -41,11 +41,11 @@
" \n",
"We'll see in the next chapter how to deal with errors, but first we will try to fix the 32 bits case to just change the internal integer representation we use.\n",
" \n",
"We will therefore add a degreee of freedom and let the end user choose the type of integer to use through the use of a template.\n",
"We will therefore add a degree of freedom and let the end user choose the type of integer to use through the use of a template.\n",
"\n",
"Replacing everything in one step is very error-prone and is definitively not what I do: I really recommend to change part of it, do a commit (in a real project) and thus proceed incrementally until you reach the target state. \n",
"\n",
"Compiler is really your friend here: make sure explicit conversions deliver awarning helps you to check whether you didn't forget a substitution somewhere (compiler warnings will be dealt in a [further notebook](/notebooks/6-InRealEnvironment/3-Compilers.ipynb); in the TP the one is activated in the CMake, and if you're using an online compiler utility make sure there is `-Wconversion` on the command line)."
"Compiler is really your friend here: make sure implicit conversions deliver a warning helps you to check whether you didn't forget a substitution somewhere (compiler warnings will be dealt in a [further notebook](../6-InRealEnvironment/3-Compilers.ipynb); in the TP the one is activated in the CMake, and if you're using an online compiler utility make sure there is `-Wconversion` on the command line)."
]
},
{
......@@ -113,7 +113,7 @@
" int approx = approximation1 * coefficient1 + coefficient2 * approximation2;\n",
"```` \n",
"\n",
"Let's humour the compiler and 'propagate' the template... which will not be a trivial journey:\n",
"Let's humor the compiler and 'propagate' the template... which will not be a trivial journey:\n",
"\n",
"* You will first have to make your own operator* template functions.\n",
"* As the operator is used directly in `TestDisplayMultiply`, you will also have to make that class a template class.\n",
......@@ -170,7 +170,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"© _CNRS 2016_ - _Inria 2018-2019_ \n",
"© _CNRS 2016_ - _Inria 2018-2020_ \n",
"_This notebook is an adaptation of a lecture prepared by David Chamont (CNRS) under the terms of the licence [Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)](http://creativecommons.org/licenses/by-nc-sa/4.0/)_ \n",
"_The present version has been written by Sébastien Gilles and Vincent Rouvreau (Inria)_"
]
......@@ -180,14 +180,14 @@
"kernelspec": {
"display_name": "C++17",
"language": "C++17",
"name": "xeus-cling-cpp17"
"name": "xcpp17"
},
"language_info": {
"codemirror_mode": "text/x-c++src",
"file_extension": ".cpp",
"mimetype": "text/x-c++src",
"name": "c++",
"version": "-std=c++17"
"version": "17"
},
"latex_envs": {
"LaTeX_envs_menu_present": true,
......
......@@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# [Getting started in C++](/) - [Templates](/notebooks/4-Templates/0-main.ipynb) - [TP 13](/notebooks/4-Templates/3b-TP.ipynb)"
"# [Getting started in C++](/) - [Templates](./0-main.ipynb) - [TP 13](./3b-TP.ipynb)"
]
},
{
......@@ -53,7 +53,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"© _CNRS 2016_ - _Inria 2018-2019_ \n",
"© _CNRS 2016_ - _Inria 2018-2020_ \n",
"_This notebook is an adaptation of a lecture prepared by David Chamont (CNRS) under the terms of the licence [Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)](http://creativecommons.org/licenses/by-nc-sa/4.0/)_ \n",
"_The present version has been written by Sébastien Gilles and Vincent Rouvreau (Inria)_"
]
......@@ -63,14 +63,14 @@
"kernelspec": {
"display_name": "C++17",
"language": "C++17",
"name": "xeus-cling-cpp17"
"name": "xcpp17"
},
"language_info": {
"codemirror_mode": "text/x-c++src",
"file_extension": ".cpp",
"mimetype": "text/x-c++src",
"name": "c++",
"version": "-std=c++17"
"version": "17"
},
"latex_envs": {
"LaTeX_envs_menu_present": true,
......
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