Entries by Rainer Grimm

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 […]

Feature Testing Macros

The feature testing macros is a relatively unknown feature in C + + 20. They give you the definitive answer to which C++ feature your compiler supports. When you try out the latest C++ features, you often get errors. Now the question is: who is to blame? Option 3 occurs rarely, so you have only […]

My ALS Journey (12/n): My Legacy

Today, I want to give you a rough idea, how I plan my next year’s as a teacher, mentor , and speaker. >> My ALS Journey so far << Status Quo Currently, I’m pretty comfortable teaching, mentoring, and speaking. Thanks to my voice-to-text conversion, I can write well in English or German. My Challenge My […]

Cooperative Interruption of a Thread in C++20: Callbacks

I introduced in my last post “Cooperative Interruption of a Thread in C++20” callbacks. Today, I dive deeper. First , here’s a short reminder. Reminder In my last post “Cooperative Interruption of a Thread in C++20“, I presented the following program. // invokeCallback.cpp #include <chrono> #include <iostream> #include <thread> #include <vector> using namespace::std::literals; auto func […]

My ALS Journey: 11/n

This update is a special one. I want to explain how I can still provide classes, mentoring, and presentations. >> My ALS Journey so far << What Keeps me Alive First of all: I want to stay in touch with you by writing or speaking. I was, therefore, extremely depressed when I recognized that I […]

Chrono: Input

You can also apply the format specifier for formatted input. This post is the eleventh in my detailed journey through the chrono extension in C++20. The chrono library supports formatted input in two ways. You can use the function std::chrono::from_stream or std::chrono::parse. Both functions require an input stream and parse the input into a time […]

Chrono I/O: Unformatted and Formatted

Chrono I/O consists of reading and writing chrono types. The various chrono types support unformatted writing and formatted one with the new formatting library. This post is the tenth in my detailed journey through the chrono extension in C++20: Output Most chrono types, such as time duration, time points, and calendar dates, support direct writing […]