The C++ Stories Weekly Newsletter

Join ~11000 developers who read about Modern C++, news reports, tools, and more! A new email every Monday.
Bonuses included! C++23/C++20/C++17 ref cards and more!

The above field is supplemented with consent to receive a newsletter containing information and marketing content about the cppstories.com portal from Bartłomiej Filipek codebf based in Krakow. The consent may be withdrawn at any time. See the full Privacy Policy.


See the latest articles:

C++ Lambda Story in Print

Updated:

I’m happy to announce the print/paperback version of C++ Lambda Story! After more than a year of updates and smaller changes, the whole project is completed! You can now purchase the book in lots of different formats. See details of this major update and also take part in a giveaway and get the book for free :)

READ MORE...

Visual Studio's Natvis Debugging Framework Tutorial

Updated:

Last time in A Debugging Tip: Write Custom Visualizers in Visual Studio, I introduced the Visual Studio’s Natvis Framework and showed you a couple of samples. That article was just a basic introduction, and now it’s time to see more experiments. Learn From Existing Code   First of all, we can examine existing code that is shipped with Visual Studio and see how it works.

READ MORE...

C++ at the end of 2020

Updated:

While 2020 was a crazy and hard year we were fortunate - C++20 was accepted and published, and the work on new features continues. As usually every year, here’s my overview of the year: the standardization process, features, implementation, compilers, tools, books and more. Other Reports: 2020 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012.

READ MORE...

17 Smaller but Handy C++17 Features

Updated:

When you see an article about new C++ features, most of the time you’ll have a description of major elements. Looking at C++17, there are a lot of posts (including articles from this blog) about structured bindings, filesystem, parallel algorithms, if constexpr, std::optional, std::variant… and other prominent C++17 additions. But how about some smaller parts?

READ MORE...

Increased Complexity of C++20 Range Algorithms Declarations - Is It Worth it?

Updated:

With the addition of Ranges and Concepts in C++20, our good old algorithm interfaces got super long “rangified” versions. For example, copy is now 4 lines long… and it’s just the declaration! template <ranges::input_range R, std::weakly_incrementable O> requires std::indirectly_copyable<ranges::iterator_t<R>, O> constexpr ranges::copy_result<ranges::borrowed_iterator_t<R>, O> copy(R&& r, O result); How to decipher such a long declaration?

READ MORE...