BloombergLP::bdlar::ChoiceRef::ChoiceRef

Create ChoiceRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.

Synopsis

Declared in <bdlar_choiceref.h>

ChoiceRef(
    void* objectAddress,
    ChoiceVtable const* vtable);

Parameters

NameDescription
objectAddressaddress of the choice object to wrap
vtablepointer to the vtable for the choice type