Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 11th and 17th of May 2019.
In this week you will find links for two interesting resources: one about coroutines and the second about modern C++. You will also find a link describing what is the point of declaration, how to use constexpr
for investigating errors and many more!
Rainer Grimm wrote another post about upcoming C++ modules. He presents a few practical examples:
modernescpp.com/index.php/c-20-more-details-to-modulesIn new C++ Weekly Episode Jason Turner shows what is variable shadowing and how the compiler may warn us about it:
youtube.com/watch?v=L0YG2x7E87wNew post from Jonathan Boccara - he describes 3 types of macro that can be useful in our code:
fluentcpp.com/2019/05/14/3-types-of-macros-that-improve-c-code/Someone published a list of resources about coroutines. Many talks, articles and even podcasts about this amazing C++20 feature!
gist.github.com/MattPD/9b55db49537a90545a90447392ad3aeb#file-cpp-std-coroutines-draft-mdArticle from Dawid Pilarski - he explains what is the point of declaration and why we should care about it:
blog.panicsoftware.com/point-of-declaration/C++ is Fun. Marius Bancila shows few examples with unicode characters instead of a code:
mariusbancila.ro/blog/2019/05/16/cpp-is-fun/Really interesting article from Shafik Yaghnour - he showed how to use
constexpr
to explore Undefined Behaviour.
shafik.github.io/c++/undefined%20behavior/2019/05/11/explporing_undefined_behavior_using_constexpr.htmlAnother article from Jonathan Boccara - he explores how to implement
start_with
fromstd::string
before C++20 (isn’t sad that we don’t have this method already?):
fluentcpp.com/2019/05/17/how-to-check-if-a-string-is-a-prefix-of-another-one-in-cpp/Another nice list - sources for learning modern c++:
github.com/rigtorp/awesome-modern-cpp/blob/master/README.md
The links are brought to you by Wojciech Razik.
Wojtek is a Senior C++ developer at Thaumatec, currently writing software for a face & iris recognition device. 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.