enumStrings

Aliases itself to enumMembers for string enums and enumIdentifiers for integral and floating point enums.

Members

Aliases

enumStrings
alias enumStrings = enumMembers!T
Undocumented in source.
enumStrings
alias enumStrings = enumIdentifiers!T
Undocumented in source.

Examples

enum E {z = 1, b = -1, c}
static assert(enumStrings!E == ["z", "b", "c"]);

enum S {a = "A", b = "B", c = ""}
static assert(enumStrings!S == [S.a, S.b, S.c]);

Meta