[Issue 12133] Relaxed read-modify-write for shared lvalues

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 11 15:39:10 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12133



--- Comment #2 from Stanislav Blinov <stanislav.blinov at gmail.com> 2014-02-11 15:39:09 PST ---
(In reply to comment #1)

> shared int i;
> ++cast()i;

cast()i would cast away everything, including const, silently :)

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list