cpp_weekly
cpp_weekly copied to clipboard
The official C++ Weekly Repository. Code samples and notes of future / past episodes will land here at various times. PR's will be accepted in some cases.
https://compiler-explorer.com/z/czWqGcfrz
Channel C++Weekly Topics Explain how/when it can/should be used. Length 10 minutes https://en.cppreference.com/w/cpp/language/ebo
**Channel** C++Weekly **Topics** It may be a bit too specialized for this channel, but it's a puzzle which I have been bumping into for some time, and it's really a...
https://en.cppreference.com/w/cpp/utility/bitset Point out that we can expect optimized opcodes here.
**Channel** C++Weekly **Topics** What is the difference between std::apply and std::invoke? Why do we need both? **Length** 5-10
I think this syntax maybe should be been reserved for a conditional delete? https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2573r2.html#alt-syntax
**Channel** C++ Weekly **Topics** 1. Quick review of UB from `reinterpret_cast` 2. Quick review of `std::bit_cast` and any of its limitations 3. (New in C++23) `start_life_timetime_as` and `start_lifetime_as_array` **Length** Longer...
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2748r5.html
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2542r8.html
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2447r6.html