Local Time--Andrzej Krzemieński

Correct time tables.

Local Time

by Andrzej Krzemieński

From the article:

In this post we will see how to solve the task from the previous post, but display the time point in local time instead of system time. The solution is simple and takes only two additional lines (you can scroll down towards the end), but I want to take this opportunity to offer some reflections about the concepts of time zones and daylight saving time...

New C++ features in GCC 12--Marek Polacek

Time to update.

New C++ features in GCC 12

by Marek Polacek

From the article:

Version 12.1 of the GNU Compiler Collection (GCC) is expected to be released in April 2022. Like every major GCC release, this version will bring many additions, improvements, bug fixes, and new features. GCC 12 is already the system compiler in Fedora 36. GCC 12 will also be available on Red Hat Enterprise Linux in the Red Hat Developer Toolset (version 7) or the Red Hat GCC Toolset (version 8 and 9).

Like the article I wrote about GCC 10, this article describes only new features affecting C++.

We implemented several C++23 proposals in GCC 12. The default dialect in GCC 12 is -std=gnu++17; to enable C++23 features, use the -std=c++23 or -std=gnu++23 command-line options. (The latter option allows GNU extensions.)

Note that C++20 and C++23 features are still experimental in GCC 12...

Policy--Rainer Grimm

The series continue.

Policy

by Rainer Grimm

From the article:

Thanks to templates, there are new ways of software design. Policies and traits are two commonly used idioms in C++.

The first two keynotes for Meeting C++ 2022

Meeting C++ 2022 will be a hybrid event from Berlin in November this year. Nicolai Josuttis will give the opening keynote and the closing keynote will be by Klaus Iglberger!

Announcing the first two keynotes for Meeting C++ 2022

by Jens Weller

From the article:

Happy to announce the opening and closing keynotes for Meeting C++ 2022!

This years Meeting C++ conference is the 10 year anniversary of Meeting C++ it self. There is of course is a long list of keynote speakers that have or might keynote Meeting C++ in the future. From that long list of possiblities I've chosen Nicolai Josuttis and Klaus Iglberger.

OVERLOAD JOURNAL 168 - APRIL 2022

The new Overload is out.

OVERLOAD JOURNAL 168 - APRIL 2022

In the journal:

On Becoming Unstuck
By Frances Buontempo
The horsemen of the apocalypse may be on the horizon. Frances Buontempo attempts to stop doom-scrolling and solve problems instead.

Taming Wordle with the Command Line
By James Handley
Could static analysis provide a generic way to approach Wordle? James Handley uses simple command line tools in order to (hopefully) name that Wordle in four!

C++20: A Coroutine Based Stream Parser
By Andreas Fertig
Stream parsing code can be very complicated. Andreas Fertig uses coroutines to make stream parsing code clearer.

Structured Concurrency in C++
By Lucian Radu Teodorescu
Raw threads tend to be unstructured. Lucian Radu Teodorescu applies principles from Structured Programming to concurrency.

The Vector Refactored
By Teedy Deigh
Finding the right level of abstraction can be challenging. Teedy Deigh razes the level of abstraction.

Type Erasure--Rainer Grimm

The series continue.

Type Erasure

by Rainer Grimm

From the article:

Type erasure based on templates is a pretty sophisticated technique. It allows you to bridge dynamic polymorphism (object orientation) with static polymorphism (templates).

Define Concepts--Rainer Grimm

The series continue.

Define Concepts

by Rainer Grimm

From the article:

There are two ways to define a concept: You can combine existing concepts and compile-time predicates, or you can apply a requires expression in four different ways...