Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::sets::HasCardinalityType Concept Reference

The cardinality bound a comprehension inherits: the datum's when it declares one, else the base's. More...

Concept definition

template<typename T>
concept dedekind::sets::HasCardinalityType = requires { typename T::cardinality_type; }
The cardinality bound a comprehension inherits: the datum's when it declares one, else the base's.
Definition expressions.cppm:168

Detailed Description

The cardinality bound a comprehension inherits: the datum's when it declares one, else the base's.

Template Parameters
Predicatethe datum.
Basethe base set.

A predicate or set that declares its cardinality: T::cardinality_type is formed.

Template Parameters
Tthe candidate.