Logo

Blog


C++ Insights

C++ Insights Episode 46: Consider making your assignment operators lvalue only

I published a new C++ insights episode: Consider making your assignment operators lvalue only. [...]
Conference

NDC TechTown 2023 recording of my talk "C++ Coroutines from scratch" is available

I'm pleased to announce that the recording of my talk at NDC TechTown C++ Coroutines from scratch of my presentation is available YouTube: [...]
C++

C++20 Concepts applied - Safe bitmasks using scoped enums

In 2020 I wrote an article for the German magazine iX called Scoped enums in C++. In that article, I shared an approach of using class enums as bitfields without the hassle of [...]
C++ Insights

C++ Insights Episode 45: C++20s Designated Initializers

I published a new C++ insights episode: C++20s Designated Initializers. [...]
C++

When an empty destructor is required

In last month's post Why you shouldn't provide an empty destructor, I taught you the difference between user-provided and user-declared. I hope you remember the conclusion; never [...]
C++ Insights

C++ Insights Episode 44: Compilers are lazy, and this is good

I published a new C++ insights episode: Compilers are lazy, and this is good. [...]
C++

Why you shouldn't provide an empty destructor

Today's post is a written version of C++ Insights episode 38 I published back in May. I decided to write this post to be able to use what I teach you in next month's post. In case [...]
C++ Insights

C++ Insights Episode 43: A copy constructor cannot be a template

I published a new C++ insights episode: A copy constructor cannot be a template. [...]
Conference

CppNorth 2023 recording of my talk "C++ Feature Coroutines, Beginner Friendly" is available

I'm pleased to announce that the recording of my talk at CppNorth C++ Feature Coroutines, Beginner Friendly of my presentation is available YouTube: [...]
C++

Using C++23s constexpr unique_ptr

Back in 2022, my paper P2273R3: Making std::unique_ptr constexpr was accepted for C++23. All the time, I planned to provide an implementation for libc++ but never found the time. [...]