Good Concepts
summary
A concrete claim: language-level Concepts plus a 100 page specification of STL semantics produce smaller, clearer templates and eliminate the worst error-message noise. Implementation work appears in GCC 6.2 and the design grew from 20 years of prior effort; it supports expressing sortable, numeric and iterator properties, composing concepts, and ranges. The built outcome is usable constraints that reduce boilerplate, catch accidental matches, and actually work in large codebases rather than being mere vocabulary.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:40Concepts background
- 1:44Generic Programming is "just" Programming
- 2:15Concepts are compile-time predicates
- 3:09Shorthand Notations
- 4:21Defining concepts
- 5:37What makes a concept good?
- 7:49Try for complete concepts
- 8:25Ideal: "plug and play"
- 9:39Accidental match?
- 10:25Real concepts rarely accidentally match
- 11:25Overloading
related talks
01h 01mthe Concepts of concepts
59mConcepts driven design
01h 01mthe Concepts of concepts
56mConcepts - Evolution or Revolution
01h 01mDocumentation in the Era of Concepts and Ranges
53mFrom C++ Templates to C++ Concepts - Metaprogramming: an Amazing Journey
01h 38mMake Simple Tasks Simple!
01h 03mBack to Basics: The C++ Core Guidelines
