Create ChoiceRef object that type erases the supplied choice object.

Synopsis

Declared in <bdlar_choiceref.h>

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

Parameters

Name

Description

choice

choice object to wrap

Created with MrDocs