Skip to content

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`.

Where the book teaches it

Related terms

Duck typingInterfaceTemplate