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

Synopsis

Declared in <bdlar_choiceref.h>

ChoiceConstRef(
    void const* objectAddress,
    ChoiceConstVtable const* vtable);

Parameters

Name

Description

objectAddress

address of the choice object to wrap

vtable

pointer to the const vtable for the choice type

Created with MrDocs