C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Subscript aliasing

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Fri, 8 Mar 2024 00:29:34 +0100
Seems to be abandoned, but had positive feedback in the EWGI (Evolution Working Group Incubator): https://github.com/cplusplus/papers/issues/655 -----Ursprüngliche Nachricht----- Von:Giuseppe D‘Angelo via Std-Proposals <std-proposals_at_[hidden]> Gesendet:Fr 08.03.2024 00:21 Betreff:Re: [std-proposals] Subscript aliasing Anlage:untitled An:std-proposals_at_[hidden]; CC:Giuseppe D‘Angelo <giuseppe.dangelo_at_[hidden]>; On 08/03/2024 00:19, Jan Schultke via Std-Proposals wrote: > You can have your cake and eat it with existing features. > > Make three members float x, y, z, then define an operator[]. The missing building block is then interconvertibility between the struct and an array of floats. See also P1912: https://wg21.link/p1912r1 Thank you, -- Giuseppe D'Angelo -- Std-Proposals mailing list Std-Proposals_at_[hidden] https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

Received on 2024-03-07 23:29:36