Maj terminée. Pour consulter la release notes associée voici le lien :
https://about.gitlab.com/releases/2021/07/07/critical-security-release-gitlab-14-0-4-released/

Commit a07a686b authored by STEFF Laurent's avatar STEFF Laurent
Browse files

fixed various typos

parent e8ead53a
......@@ -495,7 +495,7 @@
"#include <iostream>\n",
"void h(double& a) // Ok... but not advised! (see below)\n",
"{\n",
" std::cout << \"h(double*) is called with a = \" << a << \"; a is doubled by the function.\" << std::endl;\n",
" std::cout << \"h(double&) is called with a = \" << a << \"; a is doubled by the function.\" << std::endl;\n",
" a *= 2.;\n",
"}"
]
......@@ -1095,7 +1095,7 @@
" std::cout << value << ' ';\n",
" \n",
" // My very specific sort operation:\n",
" // Returns true if lhs is odd and rhs isn't or is lhs < rhs.\n",
" // Returns true if lhs is odd and rhs isn't or if lhs < rhs.\n",
" auto odd_first = [](auto lhs, auto rhs)\n",
" {\n",
" const bool is_lhs_odd = !(lhs % 2 == 0);\n",
......@@ -1404,4 +1404,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
\ No newline at end of file
......@@ -57,7 +57,7 @@
"source": [
"There are few limitations with the stack:\n",
"\n",
"* The number of memory you can allocate on the stack is rather limited. On a current POSIX OS the order of magnitude is ~ 8 Mo (on Unix type `ulimit -a` in a terminal to get this information). If you allocate more you will get a **stack overflow** (and now you know why the [most popular developers forum](https://stackoverflow.com/) is named this way!)\n",
"* The number of memory you can allocate on the stack is rather limited. On a current POSIX OS the order of magnitude is ~ 8 MB (on Unix type `ulimit -s` in a terminal to get this information). If you allocate more you will get a **stack overflow** (and now you know why the [most popular developers forum](https://stackoverflow.com/) is named this way!)\n",
"* The information is very local; you can't use it elsewhere. If you pass the variable as argument in a function for instance a copy is made (or if you're using a reference or a pointer you have to be sure all is done when the block is exited!)\n",
"* Stack information must be known at compile time: if you're allocating an array on the stack you must know its size beforehand."
]
......@@ -254,4 +254,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
\ No newline at end of file
......@@ -166,7 +166,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"You may have see noticed there are no constraints on `T` whatsoever. If you invoke a template and the implementation doesn't make sense for the chosen type the compiler will yell (no doubt you have already seen compilers are extremely talented to do so and it is even truer regarding templates...)"
"You may have noticed there are no constraints on `T` whatsoever. If you invoke a template and the implementation doesn't make sense for the chosen type the compiler will yell (no doubt you have already seen compilers are extremely talented to do so and it is even truer regarding templates...)"
]
},
{
......@@ -725,4 +725,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
\ No newline at end of file
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