[Issue 5325] Mutable references to const/immutable/shared classes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 21 04:03:09 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=5325
Denis Shelomovskij <verylonglogin.reg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |verylonglogin.reg at gmail.com
--- Comment #5 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2014-03-21 15:03:05 MSK ---
What is the state of this? Is there any NG discussion? Lack of this feature is
really disappointing and feels like a typesystem defect.
P.S.
(In reply to comment #4)
> How does C# deal with this?
By not providing any type qualifiers. Its `const` works like enum and
`volatile` only affect variable load/store.
--
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