[Issue 20112] __vector casts don't do type conversions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 9 04:57:29 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20112

--- Comment #2 from thomas.bockman at gmail.com ---
That is very surprising. There is already a way to express reinterpretation
casts: `*cast(T*) &variable`. Why is it necessary to overload the conversion
syntax in such a confusing fashion? Is this documented anywhere in the language
standard?

--


More information about the Digitalmars-d-bugs mailing list