C++ Links #2
Welcome to new C++ Links - most important and useful articles, podcasts
and videos that happened between 8th and 14th of September. Today you
will find a link to a post about the C++ quality of life features, a
video with an explanation of the difference between
constexpr, an article that describes some of
SFINAE problems and
A blog post from Jonathan Mueller: another part of series focused on mathematics side of comparisons. Today he is focusing on the three-way comparison (aka Spaceship operator, that will be available in C++20).
New C+++ Weekly video from Jason Turner - he is showing how lambda can be used in fold expression:
Arthur O’Dwyer is discussing problems with type traits and SFINAE. He starts with a simple case: template method to stringify objects with operator <<, ends up with lots of code needed to avoid corner cases.
Rainer Grimm continues to post about C++ Core Guidelines - in below post he shows paragraphs related with type erasure. If you don’t know what type erasure is - he is explaining it very well:
A new episode of CppCast - interview with Anders Schau Knatten, the author of CppQuiz.org. His website contains lots of challenging questions about C++, he recently updated all of the questions to be C++17 compliant:
New video from CopperSpice - they explain the difference between const, constexpr, static const & conastexp const:
Guest post on Jonathan Boccara post - mostly about how to teach C++, thoughts and advice from an experienced teacher:
Arne Mertz wrote a post about C++ features that everybody loves, but actually, they do not add any new functionality (like auto, range-for loops etc.):
Post from Jonathan Boccara - how to remove elements from C++ containers. Sounds easy, but he describes lots of details, like how to remove duplicate from associative containers.
Bartłomiej Filipek -
std::visitis a powerful utility that can be used in many ways. In this week’s article, we discuss how to use it with many variants and how to “skip” some repetitive overloads for functions.
Polish version: cpp-polska.pl/post/jak-uzywac-stdvisit-z-wieloma-wariantami
What’s your favourite link for this week?
Maybe we missed something relevant?
Let us know in comments.
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.