[Issue 8143] Safe std.conv.to enum conversion
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 24 17:56:43 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8143
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1153|0 |1
is obsolete| |
--- Comment #15 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-24 17:56:41 PDT ---
Created an attachment (id=1154)
code
(In reply to comment #14)
> (In reply to comment #13)
>
> > > Is this supported?
> > > enum En[][] m1 = to!(En[][])([[10, 30], [30, 10]]);
> >
> > Yes.
>
> Then I suggest to add it to your tests, because it's not present.
>
> Your tests contain code like:
>
> En[][] m1 = to!(En[][])([[10, 30], [30, 10]]);
Ah it took me a while to realize you were looking for CTFE ability.
--
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