Return the id of the current selection if the selection is defined, and ‐1 otherwise.

Synopses

Declared in <bdlar_choiceref.h>

Return the id of the current selection if the selection is defined, and ‐1 otherwise.

Return the id of the current selection if the selection is defined, and ‐1 otherwise.

Return Value

id of the current selection, or ‐1 if undefined

Parameters

Name

Description

ref

choice reference to query

Created with MrDocs