Customization Methods: Connecting User and C++ Library Code
Talkat CppCon 2023 · on Monday, 2023-10-02· at 11:00· Cottonwood 8/9, 6700 North Gaylord Rockies Boulevard·
summary
Compares concrete C++ customization mechanisms and names the tradeoffs, not just the buzzwords: ADL, customization point objects, Concepts, tag_invoke are evaluated with real examples, code snippets and historical outcomes (swap, ranges, tag_invoke rejection for C++23). Proposes language-level customizable functions as a concrete solution and notes what failed and why, links to slides and code are provided, and compilation/diagnostic costs and implementation complexity are measured rather than handwaved.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 2:13What is a library
- 7:12Customization points
- 9:39Designing libraries
- 10:44Customization methods
- 14:13Inheritance method
- 23:08Template specialization
- 31:28ADL customization
- 37:34Customization point objects
- 40:25Constraints with concepts
- 44:03Tag invoke complexities
- 50:06Customizable functions
- 54:41Reflection approach
- 56:47Comparing methods
- 58:11Future of customization
- 1:00:22Q&A
related talks
01h 00mHow to call C libraries from C++
01h 03mUnlocking the value of C++20
01h 30mC++ in Constrained Environments
01h 01mClean CMake for C++ (library) developers
58mUnderstanding and Mastering C++'s Complexity
01h 30m50 shades of C++
01h 40mBack to the Basics! Essentials of Modern C++ Style
59mModernizing Legacy C++ Code
