Cast the specified any to SimpleTypeConstRef.

Synopsis

Declared in <bdlar_anycastutil.h>

static
SimpleTypeConstRef
toSimpleTypeConstRef(AnyConstRef const& any);

Description

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

Return Value

a SimpleTypeConstRef for the object referred to by any

Parameters

Name

Description

any

const any reference to cast

Created with MrDocs