BloombergLP::bdlar::AnyCastUtil::toAnyRef

Return an AnyRef referring to the same array as ref.

Synopsis

Declared in <bdlar_anycastutil.h>

static
AnyRef
toAnyRef(ArrayRef const& ref);

Description

Cast the specified ref to AnyRef.

Return Value

an AnyRef for the array referred to by ref

Parameters

NameDescription
refarray reference to wrap as AnyRef