Header Image

Concepts in C++20: Evolution or Revolution?

The key idea of generic programming with templates is to define functions and classes which can be used with various types. Often it happens that you instantiate a template with the wrong type. The result is typically a few pages of cryptic error messages. This sad story ends with concepts. Concepts empower you to write requirements for your templates, which can be checked by the compiler. Concepts change the way we think about and write generic code. This change includes the usage and the definition of concepts but also the unification of auto and concepts.
June 24 @ 07:30
07:30 — 08:30 (1h)


Rainer Grimm

× How can I help you?