Last Update:
C++ Links #22
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!
-
New C++ Weekly episode from Jason Turner. He explained why we should never overload operators
&&
and||
:
youtube.com/watch?v=hCGadTsT0S0 -
Jonathan Boccara is showing how to apply function for all elements in the container. He is showing how to do that with fold expressions and nice trick with
std::initializer_list
:
fluentcpp.com/2019/03/05/for_each_arg-applying-a-function-to-each-argument-of-a-function-in-cpp/ -
Rainer Grimm explains what a template parameter is, what it can be, and why we need to have
template
keyword before a dependent name:
modernescpp.com/index.php/types-non-types-and-templates-as-template-parameters -
Kona Trip report from Corentin, he is focused on describing Modules and Coroutines proposals:
cor3ntin.github.io/posts/kona2019/ -
vector-of-bool wrote a summary about the current Modules proposal that was accepted in Kona. They are not dead-on-arrival!
vector-of-bool.github.io/2019/03/04/modules-doa-2.html -
Two interesting posts from Arthur O’Dwyer. In first he describes exciting proposal called
Expansion Statements
, it will allow for construction:for... (auto arg : pack)
,for... (constexpr int i : array)
andfor... (auto arg : tuple)
.
quuxplusone.github.io/blog/2019/02/28/expansion-statements/
The second article is about the difference between creating an object withstd::make_shared
andstd::shared_ptr
:
quuxplusone.github.io/blog/2019/03/06/shared-ptr-vs-make-shared-pitfall/ -
Another trip Report from Kona - not only classical
Modules & Coroutines
description but also Contracts, Initialization, Aggregates, CTAD, Audio & more:
timur.audio/trip-report-february-2019-iso-c-committee-meeting-kona-hawaii -
Interesting article about how to use
{fmtlib}
from Wojciech Gamuła:
wgml.pl/blog/formatting-user-defined-types-fmt.html -
Jonathan Boccara is showing algorithms that can operate on
std::tuple
:
fluentcpp.com/2019/03/08/stl-algorithms-on-tuples/ -
New CppCast episode - interview with Kirk Shoop, about Kona meeting, asynchronous programming, RxCpp library and the future of Executors in C++.
cppcast.com/2019/03/kirk-shoop/ -
Microsoft team did something amazing! They were able to reduce binary that is using exceptions for about 20%:
devblogs.microsoft.com/cppblog/making-cpp-exception-handling-smaller-x64/ -
Interesting article about one of the most popular design pattern - factory:
derydoca.com/2019/03/c-tutorial-auto-registering-factory/
Extra 1: Microsoft makes his calculator open-source!
blogs.windows.com/buildingapps/2019/03/06/announcing-the-open-sourcing-of-windows-calculator/
Extra 2: Meeting C++ team have a great blogroll, and as everyone knows
there is no such thing as “too much C++ content”:
meetingcpp.com/blog/blogroll/items/Meetiing-Cpp-Blogroll-181.html
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.
I've prepared a valuable bonus for you!
Learn all major features of recent C++ Standards on my Reference Cards!
Check it out here: