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.
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?
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.
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.
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!
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!
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!
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.
Lambda expressions are one of the most powerful additions to C++11, and they continue to evolve with each new C++ language standard. In this article, we’ll go through history and see the evolution of this crucial part of modern C++.
The second part is available:
Lambdas: From C++11 to C++20, Part 2
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!
I’m just in time (I hope)! In a few hours, a new C++ISO meeting will start! This time the committee gathered in Kona, Hawaii for their first meeting in 2019.
Let’s see what’s already in C++20 and let’s have a look at some smaller, but very handy proposals that might get into the standard.
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!
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.