Constructors
Synopses
Declared in <bdlar_choiceref.h>
Create ChoiceConstRef object that wraps the same object as the specified object.
ChoiceConstRef(ChoiceRef const& object);
Create ChoiceConstRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.
ChoiceConstRef(
void const* objectAddress,
ChoiceConstVtable const* vtable);
Create ChoiceConstRef object that type erases the supplied choice object.
template<class t_CHOICE>
explicit
ChoiceConstRef(
t_CHOICE const& choice,
void* = 0)
requires IsChoice<t_CHOICE>::value;
Created with MrDocs