|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
Pure syntactic shape: T closes strictly under the additive-group operator surface +, binary -, unary -.
More...
Pure syntactic shape: T closes strictly under the additive-group operator surface +, binary -, unary -.
Sibling of HasRingOperators (in :ring) restricted to the additive-group surface — the operators a callsite needs to spell group-theoretic translations of a + b, a - b, -a. Strict closure: each result is exactly T, not just convertible to T. Carriers that fail strict closure under literal + (e.g.\ bool, unsigned char, unsigned short — integer promotion to int) correctly refuse, matching the math-textbook stance the project adopts (#393).
Introduced under #394 as the additive-group companion of HasRingOperators / HasFieldOperators. A conjunction of category::IsClosedUnder, one operator each, so the shape subsumes every per-operator closure it names.