cpluspluscourse
cpluspluscourse copied to clipboard
C++ Course Taught at CERN, from Sebastien Ponce (LHCb)
I added a `make preview` target to the `Makefile`, which should make it easier to avoid edit compile cycles with an appropriate viewer. On Linux, to use evince as your...
The `smartPointers` exercise uses `weak_ptr` but we never mention it anywhere on the slides. Consider adding a slide for it.
I find disturbing that the first step (problem1) requires the use of the array flavor of std::make_unique, which has not been covered in the course.
Just few comments I noted down from the last course slide 333 change f(f()) slide 350: change the “Gaudi example” slide on enable_if_t, there is a better way, which?
@hageboeck @sponce @bernhardmgruber I suspect the `-O2` compiling option (with g++ 11.3. ) make that `for (int i = 0; i < 100; ++i) { a++; }` is some howreplaced...
- Lambda part might be hasty - Slide 243 (lambdas) goes to unique_ptr, custom deleters and cuda whereas smart pointers will be introduced much later. - Template part is probably...
I just watched the recording from the essentials course in spring. Apparently, I promised some slides on `auto` as NTTP. However, I could not come up with a good example...
- We should declare as a requirement the knowledge of object-functions. - I wonder how the idea of "manahattan distance" mix well with the idea of complexes. Perhaps we should...
Both tools are mentioned in the exercise on the compilation chain, but we have no slide that mentions what these tools do and why/when they are needed.
We currently only show the C++20 ranges. There are a couple new and useful ones in C++23.