[Issue 4410] AA has inconsistent and unreasonable requirements for iterating over reference-type index
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jul 2 05:15:42 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4410
--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> 2010-07-02 05:15:40 PDT ---
(In reply to comment #2)
> Obviously, AA keys must be immutable.
Making all array keys immutable is pretty restrictive as well. I don't want to
see that happening either. I don't know if you've tried to work with immutable
classes, but they are not that easy.
A recommendation that they be immutable when possible is probably in order.
But making them const is worse than immutable because it provides no guarantees
and is still as annoying.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list