Customization Methods: Connecting User And Library Code
Channel: CoreCppIL
Date: 2022-10-04

By Inbal Levi, presented at Core C++ 2022.

The interface between a library and its users is a major design consideration for every developer, and has been evolving greatly over C++’s lifetime. In this talk we will go over different methods for connecting generic library code with user-side specific code, commonly known as Customization Points. We will cover the benefits and downsides of different methods (including CTS, ADL, Concepts, CTOs, and the latest to be considered - tag_invoke), and present future directions for these mechanisms.

At the end of the talk, you’ll be familiar with the terminology and developments in this field, including the ones planned for C++23 and C++26.

-----
Inbal Levi is an embedded software engineer with a passion for design and high performance. She is a director at ISO C++ foundation, and an active member of the ISO C++ Standards Committee as a co chair of Library Evolution, chair of SG9 (Ranges group) and of the ISO C++ Israeli NB. Inbal is also one of the organizers of the CoreCpp conference and user group.