Export all enum members as aliases. This allows enums to be used as types and allows its members to be used as if they're defined in module scope.
enum enum_type_t { foo, bar, } mixin _ExportEnumMembers!enum_type_t; enum_type_t e1 = enum_type_t.foo; // ok enum_type_t e2 = bar; // ok
See Implementation
Export all enum members as aliases. This allows enums to be used as types and allows its members to be used as if they're defined in module scope.