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