Home
Sandor Dargo's Blog
Cancel

C++23: mdspan

Recently, we discussed that C++23 introduces the multidimensional subscript operator which will work - for the time being - only with new containers. In C++23 that basically means mdspan. In C++26,...

C++23: multidimensional operator[]

Two weeks ago we talked about how C++23 allows for the call and subscription operators to be static. This time, we stay in the land of operators and we’ll continue discussing the subscript operator...

The Power of Tenure: 7 reasons to stay at your job

Should you stay in your job for a long time? Or should you hop for another early on? While the market today might tell you to stay, it won’t be like that all the time and it wasn’t like that a year...

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...