Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::category::IsCountWord Concept Referenceexport

A word of the counts: an integer chain whose arithmetic wraps at its cyclic order, the unsigned integers but bool, and none narrower than int, whose products promote to a signed int that may overflow. std::size_t is the default throughout. More...

Concept definition

template<typename N>
IsIntegerChain<N> && std::unsigned_integral<N> &&
(!std::same_as<N, bool>) &&
std::same_as<decltype(std::declval<N>() * std::declval<N>()), N>
A word of the counts: an integer chain whose arithmetic wraps at its cyclic order,...
Definition chain.cppm:62
A chain with integer arithmetic: a discrete total order, locally finite (every bounded interval is fi...
Definition chain.cppm:46

Detailed Description

A word of the counts: an integer chain whose arithmetic wraps at its cyclic order, the unsigned integers but bool, and none narrower than int, whose products promote to a signed int that may overflow. std::size_t is the default throughout.

Template Parameters
Nthe word.