Commit 0512d6dc authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

Minor fixes in member functions notebook.

parent 0c44ac09
......@@ -27,7 +27,7 @@
"\n",
"But when Bjarne Stroustrup created the C++, its main idea was to extend these structs into full-fledged **classes** (to the point the work name of his language was *C with classes*...)\n",
"\n",
"One of the idea that was missing with original C `struct` was the possibility to add as well member functions; this is no longer the case:"
"One of the idea that was missing with original C `struct` was the possibility to add as well member functions:"
]
},
{
......@@ -406,7 +406,7 @@
"source": [
"### `mutable` keyword\n",
"\n",
"Tread here with extreme caution here! Sometimes, you might want for a method to be mostly unable to modify the state of the class but you still need to modify one or more attribute. You may in this case use the `mutable` keyword when defining this attribute:"
"Tread with extreme caution here! Sometimes, you might want for a method to be mostly unable to modify the state of the class but you still need to modify one or more attribute. You may in this case use the `mutable` keyword when defining this attribute:"
]
},
{
......
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