Aarhus University Seal

Special talk by Bjarne Stroustrup on Concept-based Generic Programming

Info about event

Time

Tuesday 19 August 2025,  at 15:00 - 17:00

Location

Peter Bøgh Andersen Auditorium, Building 5335, Room 016, Helsingforsgade 14, 8200 Aarhus N

Price

Free DKK

Title:

Concept-based Generic Programming

Abstract:

This talk presents programming techniques to illustrate the facilities and principles of C++ generic programming using concepts. Concepts are C++’s way to express constraints on generic code. As an initial example, it provides a simple type system that eliminate narrowing conversions and provides range checking.

Concepts are used throughout to provide user-defined extensions to the type system. The aim is to show their utility and the fundamental ideas behind them, rather than to provide a detailed or complete explanation of C++’s language support for generic programming or the extensive support provided by the standard library.

The final sections briefly present design rationales and origins for key parts of the concept design, including use patterns, the relationship to Object-Oriented Programming, value arguments, syntax, concept type-matching, and definition checking. They also mention static reflection, a C++26 improvements in the support of general programming.


We look forward to welcoming you all!