Overview
Explore the second part of a comprehensive conference talk on using concepts in C++ design, delivered at CppNow 2021. Delve into the intricacies of writing concepts and their design aspects, building upon the foundations laid in the first part. Learn how to evaluate constraints, understand subsumption, and find appropriate concepts for your code. Examine real-world examples, including the Chrono implementation, and discover techniques for writing effective concepts, such as partial concepts and time duration options. Gain insights into static polymorphism, various programming paradigms, and essential design principles. Analyze how concepts impact decomposition, dependencies, evolvability, and code readability in C++ projects. Benefit from the expertise of Jeff Garland, a seasoned C++ developer and Boost contributor, as he guides you through the practical application of concepts in modern C++ design.
Syllabus
Intro
How are constraints evaluated
Subsumption
Finding Concepts
Example
Chrono Implementation
Writing a Concept
Time Duration
Options
Partial concepts
Final thoughts
Static polymorphism
Paradigms
Design Principles
Decomposition
Concepts and dependencies
Evolvability and readability
Taught by
CppNow