|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
Structural 2-tuple with coordinates at the type level. More...
Public Types | |
| using | Domain = T |
Public Member Functions | |
| template<T x2, T y2> | |
| constexpr bool | operator== (Vec2< T, x2, y2 >) const |
Static Public Attributes | |
| static constexpr T | first = x |
| static constexpr T | second = y |
Structural 2-tuple with coordinates at the type level.
Vec2<T, x, y> carries the module element (x, y) ∈ T² as NTTPs. The type is the element; Vec2<T, 1, 2> and Vec2<T, 3, 4> are distinct types. Used as the target of the NTTP Invertible2x2's left action in :matrix.