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 const and constexpr, an article that describes some of SFINAE problems and many others.

  1. 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).
    foonathan.net/three-way-comparison

  2. New C+++ Weekly video from Jason Turner - he is showing how lambda can be used in fold expression:
    youtube.com/watch?v=QhY7Fx-YsGs

  3. 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.
    quuxplusone.github.io/blog/problems-concepts-should-solve/

  4. 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:
    modernescpp.com/index.php/c-core-guidelines-type-erasure

  5. 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:
    cppcast.com/2018/09/anders-knatten/

  6. New video from CopperSpice - they explain the difference between const, constexpr, static const & conastexp const:
    youtube.com/watch?v=Dpob2KsYLWs

  7. Guest post on Jonathan Boccara post - mostly about how to teach C++, thoughts and advice from an experienced teacher:
    https://www.fluentcpp.com/2018/09/11/how-to-write-simple-code-to-accomplish-complex-tasks/

  8. 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.):
    https://arne-mertz.de/2018/09/quality-of-life-features/

  9. 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.
    https://www.fluentcpp.com/2018/09/14/how-to-remove-elements-from-a-sequence-container/

  10. Bartłomiej Filipek - std::visit is 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.
    bfilipek.com/2018/09/visit-variants.html
    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.