[Issue 10266] CTFE: Allow reinterpret casts T <-> T[1]
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 4 01:23:32 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10266
--- Comment #3 from Don <clugdbug at yahoo.com.au> 2013-07-04 01:23:30 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > I suspect that after the cast, it might not be a genuine array.
>
> I like the idea to not create genuine array here. Just a restricted array for
> e.g. `foreach`.
Hmmm, I don't know how to do that. This kind of feature is practically
guaranteed to fail, it creates dozens of weird special cases (and they would
all be subtle wrong-code bugs).
--
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