-----Ursprüngliche Nachricht-----
Von: Lénárd Szolnoki via Std-Proposals <std-proposals@lists.isocpp.org>
Gesendet: Fr 15.08.2025 20:58
Betreff: Re: [std-proposals] TBAA and extended floating-point types
An: std-proposals@lists.isocpp.org; Jan Schultke via Std-Proposals <std-proposals@lists.isocpp.org>;
CC: Lénárd Szolnoki <cpp@lenardszolnoki.com>;
> If we were able to do that, this would break optimizations
>though since any write to a char could change the value of a char8_t,
>and any write to a double could change a std::float64_t, and vice
>versa.
I would rather have the interoperability than these optimizations.
Then rather constructs specifically allowing something identical for the interoperability case.
Aliasing is also a correctness issue.