C++20: The Ranges Library

Thanks to the ranges library in C++20, working with the Standard Template Library (STL) will become much more comfortable and powerful. The algorithms of the ranges library are lazy, can work directly on the container and can easily be composed. To make it short: The comfort and the power of the ranges library are due to its functional ideas. Let me show you what that means.

Read more
Add CommentViews: 5339

Concepts in C++20: An Evolution or a Revolution?

Let me conclude my series to concepts with this meta-post. Are concepts an evolution or a revolution in C++? The answer to this question bothered me quite a time.

Read more
Add CommentViews: 11358

C++20: Define the Concept Regular and SemiRegular

When you want to define a concrete type that works well in the C++ ecosystem, you should define a type that "behaves link an int". Formally, your concrete type should be a regular type. In this post, I define the concepts Regular and SemiRegular.

Read more
Add CommentViews: 3154

C++20: Define the Concepts Equal and Ordering

In my last post, I defined the concept Equal. Now, I go one step further and use the concept Equal to define the concept Ordering.

Read more
Add CommentViews: 3121

C++20: Define Concepts

With this post, I start my last very exciting topic to concepts: define your concepts. Consequentially, I answer the questions I opened in previous posts.

Read more
Add CommentViews: 5620

C++20: Concepts - Predefined Concepts

C++20 has many predefined concepts. Consequentially, before you define your concept, you should know the existing ones. This post gives you an overview of the predefined concepts. To get the general idea of concepts, read my previous posts

Read more
Add CommentViews: 13994

C++20: Concepts - What we don't get

The Template Introduction from the Concepts TS is a new way to use concepts. This syntactic variant is not included in the Concepts Draft and, therefore, in the C++20 standard. But, I don't know what the farther away future brings.

Read more
Add CommentViews: 6374

C++20: Concepts - Syntactic Sugar

Today, my post is not about something new to concepts. It's about syntactic sugar. I write about abbreviated function templates. What? Abbreviated functions templates allow a sweet way to define templates.

Read more
Add CommentViews: 6557

C++20: Concepts, the Placeholder Syntax

Today, I have a simple answer to a challenging question: Where can I use my concept? Concepts can be used where auto is usable.

Read more
Add CommentViews: 7181

A Brief Overview of the PVS-Studio Static Code Analyzer

During one of C++Russia conferences, I got acquainted with the team, developing the PVS-Studio code analyzer. Right now, I'd like to hand it over to them. They will make a small overview of this amazing tool, give a few useful links. In addition, they promised to provide you with a small bonus.

Read more
Add CommentViews: 4576

My Newest E-Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 4294

All 3391298

Currently are 276 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments