Cast the specified any to SimpleTypeRef.

Synopsis

Declared in <bdlar_anycastutil.h>

static
SimpleTypeRef
toSimpleTypeRef(AnyRef const& any);

Description

The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_SIMPLE_CATEGORY.

Return Value

a SimpleTypeRef for the object referred to by any

Parameters

Name

Description

any

any reference to cast

Created with MrDocs