[#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, void* = 0) requires IsChoice<t_CHOICE>::value; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#