map< Enum, T, Compare > Struct Template Reference

Public Types

typedef T(* function) (Enum)
 

Public Member Functions

BETTER_ENUMS_CONSTEXPR_ map (function f)
 
BETTER_ENUMS_CONSTEXPR_ T from_enum (Enum value) const
 
BETTER_ENUMS_CONSTEXPR_ T operator[] (Enum value) const
 
BETTER_ENUMS_CONSTEXPR_ Enum to_enum (T value) const
 
BETTER_ENUMS_CONSTEXPR_ optional< Enum > to_enum_nothrow (T value, size_t index=0) const