GettingStartedWithModernCpp merge requestshttps://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests2024-03-07T11:05:54+01:00https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/89Modifications on notebooks and hands on in part 52024-03-07T11:05:54+01:00GILLES SebastienModifications on notebooks and hands on in part 5This MR was first proposed as !84 but was closed as there were few improvements to perform in hands on and depending on a master without #114 was a pain.
Issue #125 has been opened to discuss what to do with two problematic exercises.
...This MR was first proposed as !84 but was closed as there were few improvements to perform in hands on and depending on a master without #114 was a pain.
Issue #125 has been opened to discuss what to do with two problematic exercises.
Closes #103https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/88Modifications on notebooks and hands on in part 42024-03-07T10:28:54+01:00GILLES SebastienModifications on notebooks and hands on in part 4This MR was first proposed as !80 but was closed as there were few improvements to perform in hands on and depending on a master without #114 was a pain.This MR was first proposed as !80 but was closed as there were few improvements to perform in hands on and depending on a master without #114 was a pain.https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/87Modifications on notebooks and hands on in part 32024-03-07T11:11:41+01:00GILLES SebastienModifications on notebooks and hands on in part 3This MR was first proposed as !78 but was closed as there were few improvements to perform in hands on and depending on a master without #114 was a pain.This MR was first proposed as !78 but was closed as there were few improvements to perform in hands on and depending on a master without #114 was a pain.GILLES SebastienGILLES Sebastienhttps://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/86Modifications on notebooks and hands on in part 22024-03-12T13:17:28+01:00GILLES SebastienModifications on notebooks and hands on in part 2Closes #65
This MR was first proposed as !77 but was closed as there were few improvements to perform in hands on and depending on a master without #114 was a pain.
Closes #90Closes #65
This MR was first proposed as !77 but was closed as there were few improvements to perform in hands on and depending on a master without #114 was a pain.
Closes #90https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/85Modifications on notebooks and hands on in part 12024-03-01T14:06:04+01:00GILLES SebastienModifications on notebooks and hands on in part 1Was already mostly reviewed in !76; the modifications have been reported there (hence the _Fast MR_ label).Was already mostly reviewed in !76; the modifications have been reported there (hence the _Fast MR_ label).GILLES SebastienGILLES Sebastienhttps://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/83Python like syntax for container element access2024-03-01T17:12:38+01:00ROUVREAU VincentPython like syntax for container element accessFix #104Fix #104https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/82Precise the type for HoldAValue template constructor2024-02-28T08:15:13+01:00ROUVREAU VincentPrecise the type for HoldAValue template constructorFix #70Fix #70https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/81Improve exemple in canonical form notebook with some debug traces2024-02-28T08:10:04+01:00ROUVREAU VincentImprove exemple in canonical form notebook with some debug tracesFix #67Fix #67https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/79Update user and working directory in hands on Docker image.2024-02-27T14:57:34+01:00GILLES SebastienUpdate user and working directory in hands on Docker image.Closes #22Closes #22GILLES SebastienGILLES Sebastienhttps://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/74Improve weak pointer appendix notebook2024-02-19T15:28:41+01:00GILLES SebastienImprove weak pointer appendix notebookCloses #121Closes #121GILLES SebastienGILLES Sebastienhttps://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/73#117 Remove a striked through link.2024-02-27T14:57:21+01:00GILLES Sebastien#117 Remove a striked through link.Closes #117.Closes #117.GILLES SebastienGILLES Sebastienhttps://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/71Remove a Docker image, and update the Boost demo about third party warnings a...2024-03-07T08:11:03+01:00GILLES SebastienRemove a Docker image, and update the Boost demo about third party warnings along with the associated Docker imageCloses #116, #120Closes #116, #120https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/70give a try to notebook stripout2024-02-26T12:02:32+01:00ROUVREAU Vincentgive a try to notebook stripouthttps://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/69Fix basic cmake example2024-02-26T09:36:22+01:00ROUVREAU VincentFix basic cmake exampleFix #100
cf. https://cmake.org/cmake/help/latest/guide/tutorial/A%20Basic%20Starting%20Point.htmlFix #100
cf. https://cmake.org/cmake/help/latest/guide/tutorial/A%20Basic%20Starting%20Point.htmlhttps://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/68Introduce std::distance and std::advance in algorithm notebooks2024-02-16T14:14:16+01:00ROUVREAU VincentIntroduce std::distance and std::advance in algorithm notebooksFix #81
cf.
![image](/uploads/5423e38604676b0a5947197019fe183c/image.png)Fix #81
cf.
![image](/uploads/5423e38604676b0a5947197019fe183c/image.png)https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/67Assemble changelog for v22.10 from commit messages.2024-02-27T17:55:01+01:00GILLES SebastienAssemble changelog for v22.10 from commit messages.GILLES SebastienGILLES Sebastienhttps://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/66Expand contributing file, by explaining how to do a MR.2024-02-15T11:01:58+01:00GILLES SebastienExpand contributing file, by explaining how to do a MR.GILLES SebastienGILLES Sebastienhttps://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/64Fix many of the tickets opened after the 2022 session2024-02-16T10:52:17+01:00GILLES SebastienFix many of the tickets opened after the 2022 sessionMost of them are fairly trivial; there are two or threes that add more content but none represent more than an hour of work.
Hands-on related issues have not been tackled at all; there are many fast issues remaining!
As indicated in th...Most of them are fairly trivial; there are two or threes that add more content but none represent more than an hour of work.
Hands-on related issues have not been tackled at all; there are many fast issues remaining!
As indicated in the Changelog, the list of modifications are:
- #102 Add a sentence to underline C++ functor is not FP functor.
- #98 In Streams, manipulators section, `#include <iomanip>` is missing for `setprecision`.
- #96 PrintDivision does not show what the example should.
- #93 Update Openclassroom link.
- #92 Add prints to illustrate accuracy loss.
- #89 Doxygen: remove the sentences related to its slowness that are no longer true.
- #88 Tools: add a reference to codespell.
- #87 Remove redundant sentence.
- #86 Replace concurrent by competitor.
- #84 Add link to page with support of new features by compilers.
- #82 Add mention of the parallelism policy for STL algorithms.
- #78 Add the contiguity in memory for `std::array` which was a glaring overlook, especially with the line related to `std::string` that told it was the sole container besides `std::vector` to guarantee it.
- #75 Add Coliru link.
- #74 Missing parenthesis.
- #91 Metaprogramming notebook:
* Add a refinement to the example that uses up `if constexpr`.
* Add an example of `std::apply`
- #73 Explain explicitly why a `for` loop doesn't work for tuples, and add reminder of the trick to work around the impossibility to specialize template functions.
- #72 Put more emphasis on the fact it is an overload and not a template partial specialization that takes place in the example.
- #63 Add an example of write access through friendship.
- #61 Lift a possible ambiguity between class name `Array` and its data `attribute array_` by renaming the latter.
- #108 Fix a dead link. Many thanks to Mathias Malandain for finding it out and providing a link to the web archives!
- #60 Detail a bit more the data attribute initialization through the `:` syntax.
- #97 Add a paragraph to explain in C functions overload are not possible.
- #43 Update Copyright file.
- #29 Remove an ambiguous sentence.
**Note:** Originally, I worked on top of the modifications brought in [this MR](https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/62); I then cherry-picked the changes I did to put them atop of `master`.
**Important** Please don't do the same mistake I made and squash all commits!
Closes #98 #97 #96 #93 #92 #91 #89 #88 #87 #86 #84 #82 #78 #75 #74 #73 #72 #63 #61 #60 #43 #29 #108 #102https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/63Replace all instances of affectation with assignment2024-02-08T15:53:38+01:00MALANDAIN MathiasReplace all instances of affectation with assignmentCloses #107Closes #107https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/merge_requests/62#111 Update environment to 2024.2024-02-16T11:03:58+01:00GILLES Sebastien#111 Update environment to 2024.@jediaz
Essentially modifications to ensure I'm able to run the notebooks properly.
Basically:
- Anaconda environment had to be modified, with a specification of strict gcc version to support C++ 14 and C++17 standards.
- Jupyter ext...@jediaz
Essentially modifications to ensure I'm able to run the notebooks properly.
Basically:
- Anaconda environment had to be modified, with a specification of strict gcc version to support C++ 14 and C++17 standards.
- Jupyter extensions are unfortunately no longer supported (and my quick attempts to use nbclassic didn't work as expected for them). So I have switched back to JupyterLab (but we can no longer update the table of contents automatically :slight_frown: )
- Apparently now we need to give a token to run a notebook; the commands have been updated and the README updated as well.
- I have changed the name of conda environment and username in Docker images to make them shorter.GILLES SebastienGILLES Sebastien