Implements a safe discriminating union, aka sum type. Accepts the type Type as an enum listing the supporting types. Each enum filed name is considered as an alias for an actual type.
All allowed Tag types
Check if type T is a supported type
Returns true if no value is stored
Returns the current Type
Value of the empty type
See Implementation
Implements a safe discriminating union, aka sum type. Accepts the type Type as an enum listing the supporting types. Each enum filed name is considered as an alias for an actual type.