BloombergLP::bdlar::RefUtil::wrap

Make ArrayRef to the specified "array" object.

Synopsis

Declared in <bdlar_refutil.h>

template<class t_TYPE>
static
ArrayRef
wrap(t_TYPE& object)
requires IsArray<t_TYPE>::value;

Return Value

an ArrayRef for object

Parameters

NameDescription
objectarray object to wrap