Logo

Blog


C++ Insights

Happy 5th anniversary C++ Insights

This year we celebrate the 5th anniversary of C++ Insights! [...]
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. [...]
C++20

C++20: A coroutine based stream parser

In this post, I like to show you how C++20's coroutines can help you when writing a stream parser. This is based on a protocol Andrew Tanenbaum describes in his book Computer [...]
C++20

C++20: Aggregate, POD, trivial type, standard layout class, what is what

In this post, I would like to give you some details about the new definition in C++20 of a: [...]
C++20

C++20 Concepts: Subsumption rules

In episode 231 of C++ Weekly Multiple Destructors in C++20?! How and Why Jason told us about an optional like class with two destructors. Thanks to Concepts, this is possible in [...]
C++20

C++20 Concepts: Testing constrained functions

In my last month post How C++20 Concepts can simplify your code I introduced the different kind of a requires-clause, part of C++20s Concepts. Concepts and the requires-clause [...]
C++20

How C++20 Concepts can simplify your code

Today I like to talk about C++20's Concepts and how they help you simplify your code. Plus, make it more correct. [...]
C++20

C++20: Inside of a spaceship

With C++20 writing classes with comparison operators becomes much easier. Herb Sutter’s example from P0515 is CIString which is a case-insensitive string class wrapper. It needs [...]
C++ Insights

Coroutines in C++ Insights - The poll result

Earlier this month I started a Twitter poll about how to support coroutines in C++ Insights. This was to get guidance as showing a lot of behind the scene stuff as usual is more [...]
C++ Insights

Coroutines in C++ Insights

A longer time ago #92 was opened, requesting to support coroutines in C++ Insights. In the meantime, the coroutines TS got merged into what will be C++20. Clang 9 is available now [...]