SmartEnumCore.code

Looks up the code of a description.

Aliased to opIn.

template SmartEnumCore(BaseType)
static
BaseType*
code

Parameters

description cstring

description to look up

Return Value

Type: BaseType*

pointer to description's code, or null if description not in enum

Meta