Fast and more generic implementation of std.conv.to for enumerations.
enum E { unknown, x, y, z, } assert(E.x.toStringFaster == "x"); assert(E.y.toStringFaster == "y"); assert(E.z.toStringFaster == "z");
See Implementation
Fast and more generic implementation of std.conv.to for enumerations.