Home
Sandor Dargo's Blog
Cancel

C++23: static operator() and static operator[]

In this article, we are going to review two new features of C++23. Now the language allows the call operator (operator()) and the subscription operator (operator[]) to be static. Let’s jump into th...

Binary sizes and compiler flags

During the last few months, we discussed a lot about how to write code to limit the size of our binary. We should think twice if we want to turn a class into polymorphic, exceptions also take a hea...

C++23: Alias declarations in for loop init-statements

Let’s continue exploring C++23 features! Sometimes, accepted proposals introduce entirely new features, sometimes they bring bug fixes and sometimes they are somewhere in between. The small featur...

Trip report: C++ On Sea 2023

Last week, between 27th and 30th June, I had the privilege to attend and present at C++ on Sea 2023 for the 4th time in a row! Despite having been accepted as a speaker, I was not sure if I would ...

My way to get into conferences

In this article, I’ll share with you my journey to become a “regular” conference speaker. I’ll also explain what regular means in my case. Don’t expect any magic from the article, I cannot offer yo...

The 3 best books to level up your C++

In this article, I’ll present you 3 books that can level up your C++. For this article, I’m assuming that you have little or medium experience with C++ and you’re looking for ways to reach the next...

Fold expressions in C++

In this article, we are going to talk about time expressions. First, we are going to take some time to define what they are in case you’re not familiar with them. We’ll do this using C++ syntax, bu...

Recent changes and personal commitments

Life is change. Such a cliché. Yet it is true. Everything is changing around us and if we try to stay the same, the world passes by. If you don’t want to move backwards, you have to keep reinventi...

C++23: two additional noexcept functions

If my math is correct, there are 125 changes / fixes / new features in C++23 and we are progressively covering them on this blog. I try to go from topic to topic. There are some topics with many sm...

C++23: Even more constexpr

Ever since C++ introduced the constexpr keyword in C++11, each new standard brought us more and more opportunities to make our code increasingly constexpr, in other words, compile-time execution fr...