Conference | Live Schedule | Talks | Get your ticket | Slides | Set your timezone
C++ Concepts: What you should know and how to use them right
Nicolai Josuttis gives a training: Generic programming in C++ with templates and auto
Watch the interview
Nicolai Josuttis
On Day 2 at 14:30 (CET/Berlin) in Track A [Saphir Room and online]
Concepts are a pretty new key feature of C++. Introduced with C++20, they provide a way to deal with requirements and specify constraints on generic code. This can be used to improve overload resolution, avoid invalid use of generic code, improve error handling, and improve documentation of generic code.
In this talk I introduce the basics of concepts. You will get an overview of
- The difference between requirements, concepts, and constraints
- Where you can apply concepts
- How to design and formulate concepts
- What the standard library gives you as and for concepts
- How to test concepts
Please login to comment