[#BloombergLP-bdlar-ChoiceRef-2constructor-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/ChoiceRef.adoc[ChoiceRef]::ChoiceRef :relfileprefix: ../../../ :mrdocs: Create `ChoiceRef` object that type erases the supplied `choice` object. == Synopsis Declared in `<bdlar_choiceref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_CHOICE> explicit ChoiceRef(t_CHOICE& choice) requires IsChoice<t_CHOICE>::value; ---- == Parameters [cols="1,4"] |=== | Name| Description | *choice* | choice object to wrap |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#