Constructors
Declared in <bdlar_arrayref.h>
Create ArrayRef object that type erases the supplied array object.
template<class t_ARRAY>
explicit
ArrayRef(t_ARRAY& array)
requires IsArray<t_ARRAY>::value;
» more...
Create ArrayRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.
ArrayRef(
void* objectAddress,
ArrayVtable const* vtable);
» more...
| Name | Description |
|---|---|
| array | array object to wrap |
| objectAddress | address of the array object to wrap |
| vtable | pointer to the vtable for the array type |