Make ChoiceRef to the specified "choice" object.

Synopsis

Declared in <bdlar_refutil.h>

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

Return Value

a ChoiceRef for object

Parameters

Name

Description

object

choice object to wrap

Created with MrDocs