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:

Converting from Boost to std::filesystem

Updated:

As you may know std::filesystem evolved directly from Boost filesystem library. For a long time, it was available as a Technical Specification and later merged into C++17. Developers who used Boost can ask themselves what the differences between the two libs are. Can the code be easily converted to use std::filesystem?

READ MORE...

How to Iterate Through Directories in C++

Updated:

How would you implement a function that searches for files with a given extension? For example, finding all text files? or *.cpp files? To code that solution you need a way to iterate through directories. Is that possible in C++ out of the box using the standard library? Let’s see some techniques and new elements that C++17 added.

READ MORE...

Dark Corner of C++ Corner Cases

Updated:

The C ++ 17 standard consists of almost two thousands pages. Two thousand pages describing every single aspect of the language. Some pages relates to all kinds of details, exceptions, and things that you do not care about every day. We will try to look at a few such cases, which we hope never see in the production code.

READ MORE...

Lambdas: From C++11 to C++20, Part 2

Updated:

In the first part of the series we looked at lambdas from the perspective of C++03, C++11 and C++14. In that article, I described the motivation behind this powerful C++ feature, basic usage, syntax and improvements in each of the language standards. I also mentioned several corner cases. Now it’s time to move into C++17 and look a bit into the future (very near future!

READ MORE...

C++ Links #22

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 2nd and 8th of March 2019. This week you will find links to articles about accepted Modules proposal, a great MSVC improvement that is reducing binaries with C++ exceptions by 20% and many more!

READ MORE...

C++17 In Detail is 100% Ready!

Updated:

I released “C++17 In Detail” in August 2018, and I set the status to 90%. I didn’t expect that writing of that remaining 10% would take me so long :) Now it’s high time to set the counter to 100%. That’s why I’m pleased to announce that my book “C++17 In Detail” is now done!

READ MORE...

C++ Links #21

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 23rd February and 1st of March 2019. This week we have a massive update on the upcoming C++ Standard - Kona Meeting reports. Then you can also read about the history of lambdas, about smart iterators and more.

READ MORE...

C++ Links #20

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 16th and 22nd of February 2019. This week you will find a link to a few interesting papers from the Kona ISO C++ Meeting, how to set bitmask using Designated Initializers and many more!

READ MORE...

C++ Links #19

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 9th and 15th of February 2019. In this week you will find a link to a great post about a technique that can help reduce compilation time, an article that explains how Smart Iterators are working and many more!

READ MORE...

C++ Links #18

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 2nd and 8th of February 2019. In this week you will find a link to interesting CMake features, a detailed description of the std::rotate algorithm and many more! Even if you are using CMake daily, there is still lots of tweaks that you probably don’t know.

READ MORE...