Return an AnyRef referring to the same choice as ref.

Synopsis

Declared in <bdlar_anycastutil.h>

static
AnyRef
toAnyRef(ChoiceRef const& ref);

Description

Cast the specified ref to AnyRef.

Return Value

an AnyRef for the choice referred to by ref

Parameters

Name

Description

ref

choice reference to wrap as AnyRef

Created with MrDocs