Since constexpr was added to the language in C++11, its scope has been gradually expanded. In the beginning, we couldn’t even use if, else or loops, which were changed in C++14. C++17 added support...
Raw loops for performance?
To my greatest satisfaction, I’ve recently joined a new project. I started to read through the codebase before joining and at that stage, whenever I saw a possibility for a minor improvement, I rai...
Should you use final?
Today, let’s discuss the not-too-frequently-used final specifier. I think there aren’t many good reasons to use it — something the C++ Core Guidelines also suggests. And even when you could use it,...
C++26: variadic friends
Up until C++23, functions, classes, function and class templates could be declared as friends. Starting from C++26, thanks to Jody Hagins’ and Arthur O’Dwyer’s proposal, P2893R3, friendship can als...
C++26: an undeprecated feature
During the last two weeks, first we saw what are the language features deprecated or removed from C++26 then we did the same for library features. Life is not so straight and easy though. Sometimes...
C++26: Deprecating or removing library features
In the previous article, we discussed what language features are removed from C++26. In this one, we are going to cover both language features that are finally removed after a few years of deprecat...
C++26: Removing language features
Probably you all heard that C++ is an ever-growing language - I wrote so many times as well. Each standard indeed comes with a great bunch of highly-anticipated features. At the same time, due to b...
Trip report: C++ Online 2025
Right at the very end of February, the C++ conference season was opened by the second edition of C++ Online. I think it won’t take you by surprise that this was an online conference. In a certain w...
C++26: no more UB in lexing
If you ever used C++, for sure you had to face undefined behaviour. Even though it gives extra freedom for implementers, it’s dreaded by developers as it may cause havoc in your systems and it’s be...
The ultimate gift for (single) parents: home office?!
First of all, I’m not a single parent. I cannot feel and entirely know what it takes. This article is inspired by those rare weeks when I had to take care of the kids alone while also working. It i...