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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 27 08:54:47 PDT 2012


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



--- Comment #21 from bearophile_hugs at eml.cc 2012-10-27 08:54:44 PDT ---
(In reply to comment #20)

> I won't be able to do this, the problem is there is already a toImpl overload
> which takes a string and turns it into an enum. It has different semantics, it
> searches for matching member names rather than member values.

I see.

See also Issue 5515

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