Glossary: Software Design Patterns in C++
Concept
Also written: C++20 concept, concepts
A named C++20 requirement on a template type, listing what functions a type must have. `DiscountLike` is a concept that checks for `applies` and `apply`.
Glossary: Software Design Patterns in C++
Also written: C++20 concept, concepts
A named C++20 requirement on a template type, listing what functions a type must have. `DiscountLike` is a concept that checks for `applies` and `apply`.