Entries by Rainer Grimm

Reflection in C++26

After the search into the breadth starts today, the search into the depth: reflection. Reflection Reflection is the ability of a program to examine, introspect, and modify its structure and behavior. Reflection in C++ is more. Here are two statements from the proposal (P2996R5). “We not only want to observe the structure of the program: […]

An Overview of C++26: Concurrency

Today, I will finish my overview of C++26 and write about concurrency. There are still two library features left before I jump into the concurrency: saturation arithmetic and debugging support. Saturation Arithmetic Saturation arithmetic is a version of arithmetic in which all operations, such as addition and multiplication, are limited to a fixed range between […]

My ALS Journey (14/n): My Status Quo

My ALS progression seems to slow down, and Beatrix and I can the first time plan for the future. >> My ALS Journey so far << How to Approach a Cat? There are two ways to approach a cat: first, you feed it something, and second, you play with it. I’m sad to say that […]

An Overview Of C++26: The Library – Math

The most interesting feature of the new C++26 standard library is its improved math support. std::submdspan std::submdspan is s a subspan of an existing span std::mdspan (C++23). The subspan didn’t make it into C++23 and was added with C++26. Before I continue with C++26, I must make a short detour to C++23. hi std::mdspan A […]

An Overview of C++26: The Library

In my last post, I overviewed C++26’s core language. Today, I continue with the library. To make it short. The library does not offer such powerful features as the core language. Let me name them and give you a short example directly from the proposal. std::string and std::string_view Processing The functions around std::string and std::string_view […]

An Overview of C++26: Core Language

C++26 has a lot to offer. Let me directly jump in and give you an overview. This image gives you the first idea of what’s inside or outside C++26. Writing a blog post about the future is always challenging because the design freeze of C++26 is in the first quarter of 2025. Fishing in Murky […]

C++26: The Next C++ Standard

C++26 will be the next C++ standard after C++23. This new standard significantly improves C++ and is probably similar game-changing like C++98, C++11, or C++20. Let me put the C++ standards into historical context to help you understand this next step in the evolution of C++. The C++ Standards C++ is more than 40 years […]

My ALS Journey (13/n): Next Steps

Ice Bucket Challenge The Ice Bucket Challenge, sometimes called the ALS Ice Bucket Challenge, is an activity involving the pouring of a bucket of ice water over a person’s head, either by another person or self-administered, to promote awareness of the disease amyotrophic lateral sclerosis (ALS, also known as motor neuron disease or Lou Gehrig‘s […]

C++23: This and That

I have already written 10 posts about C++23. Today, I want to discuss the features I forgot in the first round. As a short reminder, here are the main C++23 features. Main C++23 Features C++23 offers with deducing this a small but very impactful feature of the core language. Deducing this allows you, similar to […]