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.
**Channel** C++ Weekly **Topics** Godbolt link showing the issue: https://godbolt.org/z/d1Yz74T6r In my company, we had tests that were failing when building for ARM, but not x86, and what we discovered...
https://compiler-explorer.com/z/jvPPTdsfK Requires gcc with -O3 and Sanitizers enabled to find this at compile-time.
**C++Weekly** **NTuples Library** Hello Jason Turner, I’ve been working on a small C++ library called NTuples that provides named tuples with compile-time field names and strong typing. It integrates seamlessly...
**Channel** C++Weekly **Topics** With the introduction of C++20 modules, I felt that we could finally step away from splitting up declaration and implementation as we did with header and source...
**Channel** C++Weekly **Topics** How to properly capture stdout's output so it can be used for testing and other purposes. Cover best practices and possibly the basics of `std::ostream`'s API. **Length**...
`std::map` to easily enable transparent comparators
**Channel** C++Weekly **Topics** I was wondering if you could maybe do an episode about exploring “runtime constexpr” via LLVM JIT/ORC — essentially showing how we can take a runtime constant,...
**Channel** C++ Weekly **Topics** Apologies if my explanation is a bit confusing. Assume we have something like this as a setup for a project using an internal library: ``` MyLib.hpp...
https://compiler-explorer.com/z/9E1bPvbPn