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.
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.
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.
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.
Today, I have a simple answer to a challenging question: Where can I use my concept? Concepts can be used where auto is usable.
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.
This post concludes my overview of C++20. Today's post is about the concurrency features in the next C++ standard.
My last post "C++20: The Core Language" presented the new features of the C++20 core language. Today, I continue my journey with an overview of the C++20 library.
My last post C++20: The Big Four started with an overview of concepts, ranges, coroutines, and modules. Of course, C++20 has more to offer. Today, let's continue my overview of the core language.
This post presents you the big four: concepts, ranges, coroutines, and modules.
Currently are 173 guests and no members online
Kubik-Rubik Joomla! Extensions