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