Cast the specified any to ArrayRef.

Synopsis

Declared in <bdlar_anycastutil.h>

static
ArrayRef
toArrayRef(AnyRef const& any);

Description

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

Return Value

an ArrayRef for the object referred to by any

Parameters

Name

Description

any

any reference to cast

Created with MrDocs