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