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!
Bartłomiej Filipek shows only 2 lines of code that contains a surprisingly large amount of C++17: “2 lines of code and 3 C++17 features, overload pattern“:
Article from Tristan Brindle about
std::initializer_list. He points one of the problems with it - unnecessary object copies. He creates a helper class that counts how many copies/moves are performed and does some research with different techniques of initialisation:
Rainer Grimm shows another set of C++ Core Guidelines rules related to templates, e.g. when to name a lambda with std algorithms:
A new episode of C++ Weekly - Jason Turner presents how creating unnecessary destructors may produce extra assembly and increase the binary size:
Ivan Čukić showed how to use move iterators, in his examples, he uses
Jonathan Boccara wrote a post about Smart Iterators, he explains how they work in a beginner-friendly way & explains what TPOIASI (The Terrible Problem Of Incrementing A Smart Iterator) is:
Follow up from Jonathan - he describes how Smart Output Iterators can help with TPOIASI:
In a guest post at Simplify C++ - Daniele Pallastrelli showed a really interesting technique that can help reduce compile-time with extern templates:
New CppCast episode, interview with Edaqa Mortoray, which created his own programming language called “Leaf”:
Victor Zverovich showed how to format floating numbers. It looks like it’s a really complicated task:
Extra 1: New videos from Meeting C++ are available on their youtube
channel (yes, they still uploading new videos almost every day!):
Extra 2: Meeting C++ team also have great blogroll:
Extra 3: You can start watching talks from Cpp On Sea, a recent c++
conference that happened in February:
Extra 4: The Legacy Code Programmer’s Toolbox is Out - Fluent C++ - see
the first book from Jonathan Boccara!
Extra 5. Second edition of great book - C++ Concurrency In Action - is
The links are brought to you by Wojciech Razik.
Wojtek is a Senior C++ developer at Thaumatec, currently writing software for a robot. He enjoys reading C++ Standard before bed, and he loves to hate JS from dawn to dusk.
If you know Polish, take a look at cpp-polska.pl where Wojtek is one of the co-authors.