BloombergLP::bdlar::ChoiceConstRef::ChoiceConstRef

Create ChoiceConstRef object that type erases the supplied choice object.

Synopsis

Declared in <bdlar_choiceref.h>

template<class t_CHOICE>
explicit
ChoiceConstRef(t_CHOICE const& choice)
requires IsChoice<t_CHOICE>::value;

Parameters

NameDescription
choicechoice object to wrap