Logo

Blog


C++ Insights

C++ Insights Episode 42: C++20: When is a struct an aggregate

I published a new C++ insights episode: C++20: When is a struct an aggregate. [...]
Publications

Overload Article: aaa

An article I wrote for the Accu Overload magazine "C++20 Dynamic Allocations at Compile-time" is available in issue 176. It is available as a printed edition as well as online. [...]
C++

Best Speaker Award

I'm very pleased to tell you that I received a Best Speaker Award from a German conference ESE Kongress for my talk "C++ 20 Templates - Die nächste Generation" I presented there [...]
C++

Control your numbers in C++

Today's post is probably easier and shorter than usual. But that doesn't mean the feature is any less powerful. [...]
C++ Insights

C++ Insights Episode 41: How type-traits work

I published a new C++ insights episode: How type-traits work. [...]
C++

A strongly typed bool

Today I like to share a pattern I have used for some time. The pattern is generally well-received whenever I present it during one of my training courses. I still don't know [...]
C++ Insights

C++ Insights Episode 40: The traps of returning references

I published a new C++ insights episode: The traps of returning references. [...]
C++

Visiting a std::variant safely

I assume you all know C++17's type-safe replacement for unions: std::variant. Here you look at a great replacement for unions as it knows the active type and destructs that object [...]
C++ Insights

C++ Insights Episode 39: Recursion-free templates with C++17s fold expressions

I published a new C++ insights episode: Recursion-free templates with C++17s fold expressions. [...]
C++

constexpr functions: optimization vs guarantee

The feature of constant evaluation is nothing new in 2023. You have constexpr available since C++11. Yet, in many of my classes, I see that people still struggle with constexpr [...]