Skip to content

Let's get comfortable with concepts in C++20

Photo of Dave Brown
Hosted By
Dave B. and Daniel E.
Let's get comfortable with concepts in C++20

Details

Hello all!

Welcome to our fourth meetup of 2025. This time the topic will be about concepts as introduced in C++20.

We are kindly hosted by Quokka this evening.

Abstract
In this talk we will introduce a powerful new feature in C++20: Concepts.

Concepts are a way to specify requirements on template parameter types and to make templates more expressive and easier to understand.

We will show how to:

  • Use concepts to create "interfaces" for your template types
  • Simplify your code instead of using SFINAE
  • Display better error messages when a constraint is not satisfied

By the end of this talk, you will know how to use `requires` to create "contracts" for your templates and apply `concept` to constrain the acceptable types.

AGENDA
18:00 - Doors open, with fika/snacks/food and mingling
18:30 - Event starts, welcome from Quokka
18:40 - Info about GbgCpp
18:45 - Speech starts
19:50 - Wrap-up and closing
20:00 - Event finishes

Welcome!

Photo of GbgCpp - Gothenburg C++ Meetup group
GbgCpp - Gothenburg C++ Meetup
See more events
FREE
40 spots left