EnumC

Mixes in non-namespaced versions of the member of the enum T to mimic C semantics of enumerations. If T is enum Enum { foo, bar}, then foo and bar will be synonums for Enum.foo and Enum.bar

mixin template EnumC (
T
) if (
is(T == enum)
) {}

Meta