cpluspluscourse
cpluspluscourse copied to clipboard
C++ Course Taught at CERN, from Sebastien Ponce (LHCb)
We would like to see an exercise on concepts
`is_constant_evaluated` is in C++20 and `if consteval` in C++23. We should mention them at the end of the constexpr section.
Use UBSan to run broken examples.
- [ ] Find coding guidelines of experiments - [ ] C++ core guidelines - [ ] Pair programming / talk about code
@amadio suggest to me again, and I also have thought about that, that we should add more pointers to external resources. We have the occasional link to cppreference and I...
`std::mdspan` is especially targeted towards scientific codes, so we should mention it.
C++23 will bring the following extended floating point types: std::float16_t std::float32_t std::float64_t std::float128_t std::bfloat16_t Notably, support for 16 and 128bit floats. bfloat16 is used by Google's TPUs, in Tensorflow and...
There is one slide on the `[[fallthrough]]` attribute, but I think we should discuss attributes in general and mention the few other standard ones.