[#BloombergLP-bdlar-ChoiceConstRef-2constructor-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/ChoiceConstRef.adoc[ChoiceConstRef]::ChoiceConstRef :relfileprefix: ../../../ :mrdocs: Create `ChoiceConstRef` 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 ChoiceConstRef(t_CHOICE const& 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]#