SortableBox demonstrates the direct concept-on-template-parameter form with a namespaced concept: the template parameter spans must resolve traits::Sortable by its fully-qualified name.
| Header: | concepts.h |
template<Sortable T>
class SortableBox
A box holding any Sortable type.
| Header: | concepts.h |
SortableBox demonstrates the direct concept-on-template-parameter form with a namespaced concept: the template parameter spans must resolve traits::Sortable by its fully-qualified name.