Cast the specified any to EnumRef. The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_ENUMERATION_CATEGORY.
any
EnumRef
any.typeCategory() == bdlat_TypeCategory::e_ENUMERATION_CATEGORY
Declared in <bdlar_anycastutil.h>
<bdlar_anycastutil.h>
static EnumRef toEnumRef(AnyRef const& any);