AutoSmartEnum

Template to mixin a SmartEnum class with the codes automatically generated, starting at 0.

template AutoSmartEnum (
istring Name
BaseType
Strings...
) {}

Members

Static variables

AutoSmartEnum
auto AutoSmartEnum;
Undocumented in source.

Parameters

Name

name of class

BaseType

base type of enum

Strings

variadic list of descriptions of the enum values (statically asserted to be istring's)

Meta