|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
Named-pair view via operator->.
More...
Public Member Functions | |
| constexpr ArrowView const * | operator-> () const |
Public Attributes | |
| T const & | _1 |
| T const & | _2 |
| T const & | fst |
| T const & | snd |
Named-pair view via operator->.
Returns a proxy whose members _1 / fst alias x and _2 / snd alias y. Mirrors the textbook left/right projection of the homogeneous pair T² and the Pierce-style first/second tuple destructors. Categorical reading: v->_1 reads as the comonadic extract on the canonical first projection (Wadler 1992).