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://en.cppreference.com/w/cpp/numeric/add_sat
Mutation testing with mull. * https://github.com/mull-project/mull * https://mull.readthedocs.io/en/latest/tutorials/HelloWorld.html
Some have said that there's no meaningful way to deal with out of memory in C++, but I have students who regularly deal with this stuff, so I'm recording an...
This is a follow-up to the #26 issues that were reported with clang producing code 1/2 the speed of gcc.
```cpp struct S { ~S() {} }; ``` The above type does not have a move constructor or move assignment, but it still works with move operations and `is_move_constructible` returns...
https://imgflip.com/i/8uacb3 The standard library and algorithms were designed around functional paradigm principles. was added in C++98
It's not possible to observe this, but we can see the resulting code and measure it, so let's do that.
https://www.redhat.com/en/blog/valgrind-and-gdb-close-cooperation
Hello Jason, This issue refers to Ep 404 of C++ weekly series. As suggested in the video, use of std::array's initializer list constructor does not invoke the copy / move...