Takes a string representing an enum type and returns that type.
the enum type to convert to
the lvalue of the range to parse
An enum of type Target
A ConvException if type Target does not have a member represented by s.
enum EnumType : bool { a = true, b = false, c = a } auto str = "a"; assert(parse!EnumType(str) == EnumType.a);
See Implementation
Takes a string representing an enum type and returns that type.