C++ Insights

Happy anniversary C++ Insights

I haven't written a lot about C++ Insights in the last couple of months, but as today is the anniversary of C++ Insights, it is about time to hand out a birthday present. [...]

Down with pointers

Some years ago, there was an Aprils fool post from various other C++ bloggers that C++ has deprecated pointers (for example, Fluent C++ - C++ Will No Longer Have Pointers. Well, [...]

How to achieve the rule of zero - an example

In today's post, I want to talk about the rule of zero and give an example of how to achieve it. [...]

A destructor, =default, and the move operations

Today's post is a bit special in two ways. First, I continue to talk about move semantics, and this is the first time that I have the same topic for my monthly post and the [...]
C++ Insights

C++ Insights news flash - Clang 13 and more

It's been a while since I last wrote about C++ Insights. Sorry for that. No worries, I still actively maintain the project. [...]

Why you should use std::move only rarely

In today's post, I try to tackle a topic that comes up frequently in my classes, move semantics, and when to use std::move. I will explain to you why not say std::move yourself [...]

C++20 - Filling blanks

What do you know about default parameters in C++? Well, C++20 introduced new elements that can be seen like default parameters. [...]

More than a year of virtual classes experience - The good parts

I think you all know what happened back in 2020 when we all ended up in a different world. I wrote this in the past, and it is still true. I'm very grateful that I can still make [...]

The difference between static_assert and C++20's requires

Over this year, I gave various presentations and classes about C++20's Concepts. In today's post, I like to discuss the difference between a static_assert and a Concept, or [...]

Book: Programming with C++20 - Paperback edition available

You can now order Programming with C++20 - Concepts, Coroutines, Ranges, and more from Amazon. Due to your feedback, references carry page numbers and there is a full-color and a [...]