Concept specifying a type represent a Unit Type.
More...
#include <kumi/utils/concepts.hpp>
Concept specifying a type represent a Unit Type.
A type T models kumi::concepts::unit_type if it is a kumi::concepts::product_type with a size of 0 or if std::is_null_pointer_v returns true.
- See also
- Unit Type : \( (1 / \top) \)
template<typename T>
Concept specifying a type follows the Product Type semantic.
Definition concepts.hpp:77
Concept specifying a type represent a Unit Type.
Definition concepts.hpp:138
constexpr std::size_t size_v
Computes the number of elements of a kumi::product_type.
Definition traits.hpp:89