I started to learn a new language, and you probably should too. I read some of my goals from previous years. At one point, I planned to become familiar with 2 programming languages per year. Maybe...
C++26: a placeholder with no name
Let’s continue exploring C++26. In this post, we are going to discuss a core language feature proposed by Corentin Jabot and Micheal Park in P2169R4. With the new standard we get a cool unnamed pla...
C++26: user-generated static_assert messages
Our first quest into the world of C++26 was about =delete with an optional error message, which improves the readability of the source code and potentially the error messages. In this next part of ...
2024: ready for the next year!
It’s the end of the year. As I’ve done over the past years, I’m sharing a rather personal post about how my year went, whether I achieved my goals, and what I plan for the next year. A year ago, I...
C++26: Delete with a reason
Let’s start exploring C++26 with a simple but useful change. Thanks to Yihe Li’s proposal (2573R2), when we =delete a special member function or a function overload, we can specify a reason. This ...
Let's start exploring C++26
During the last 2 years, we spent a lot of time exploring C++23 resulting in almost 40 blog posts. I’m not saying that we covered every single new language or library feature, but we covered most o...
Replace CRTP with concepts?
In my Meeting C++ 2024 trip report, among my favourite ideas I mentioned Klaus Iglberger’s talk where he mentioned the possibility of replacing the curiously returning template pattern with the hel...
How to ensure a class is not copyable or movable
The topic of this post is to show different ways to ensure that a class is either non-moveable or non-copyable. But first of all, why would you need that? If we follow the classification proposed...
Trip report: Meeting C++ 2024
Last week, I got the chance to go to Berlin and participate in the 10th edition of Meeting C++ which is as far as I know the biggest C++ conference in Europe. Considering both the online and onsite...
Implicit string conversions to booleans
From C++ Brain Teasers by Anders Schau Knatten, I learned about a compiler warning offered by Clang, called -Wstring-conversion. It emits a warning when a string literal is implicitly converted int...