[Issue 8143] Safe std.conv.to enum conversion

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 24 17:43:18 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8143



--- Comment #14 from bearophile_hugs at eml.cc 2012-10-24 17:43:17 PDT ---
(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]]);

-- 
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