getEnumIndexFromKey.getEnumIndexFromKey

template getEnumIndexFromKey(T, bool caseInsesetive = true, getKeysTemplate...)
@safe pure nothrow @nogc
bool
getEnumIndexFromKey
(
C
)
(
scope const(C)[] key
,
ref uint index
)
if (
is(C == char) ||
is(C == wchar)
||
is(C == dchar)
)
if (
is(T == enum) &&
getKeysTemplate.length <= 1
)

Meta