concepts

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
Tags: concepts
Views: 17531

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
Tags: concepts
Views: 5831

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
Tags: concepts
Views: 4851

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
Tags: concepts
Views: 11269

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
Tags: concepts
Views: 16625

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
Tags: concepts
Views: 8320

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
Tags: concepts
Views: 9089

C++20: Concepts, the Details

In my last post C++20: Two Extremes and the Rescue with Concepts, I gave the first motivation for concepts. Concepts put semantic constraints on template parameters. Today, I present different use-cases for concepts in a compact form.

Read more
Tags: concepts
Views: 24776

C++20: Two Extremes and the Rescue with Concepts

I finished my overview of C++20 in the last post. Now, its time to dive into the details. What can be a better starting point for our journey than concepts?

Read more
Tags: concepts
Views: 11793

C++20: The Big Four

This post presents you the big four: concepts, ranges, coroutines, and modules.

Read more
Views: 73829

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)

Course: C++ Fundamentals for Professionals

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 4261

All 4169552

Currently are 138 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments