[Issue 19754] cast() sometimes yields lvalue, sometimes yields rvalue

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 26 16:07:37 UTC 2019


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

--- Comment #8 from Andrei Alexandrescu <andrei at erdani.com> ---
It seems the main anomaly is that cast() yields (sometimes...) an lvalue for
shared data. Razvan, can you investigate if code would break if we forced
cast() on shared data to always return an rvalue?

--


More information about the Digitalmars-d-bugs mailing list