Make ChoiceConstRef to the specified "choice" object.

Synopsis

Declared in <bdlar_refutil.h>

template<class t_TYPE>
static
ChoiceConstRef
wrap(t_TYPE const& object)
requires IsChoice<t_TYPE>::value;

Return Value

a ChoiceConstRef for object

Parameters

Name

Description

object

choice object to wrap

Created with MrDocs