The OpenD Programming Language

enumMembers

Static immutable instance of [std.traits.EnumMembers!T].

Members

Static variables

enumMembers
T[EnumMembers!T.length] enumMembers;

Examples

enum E {a = 1, b = -1, c}
static assert(enumMembers!E == [E.a, E.b, E.c]);

Meta