Assign the fallback enumerator value to the specified result.

Synopsis

Declared in <bdlar_enumref.h>

int
bdlat_enumMakeFallback(EnumRef* result);

Description

Return 0 on success, and a non‐zero value with no effect on the object if it does not have a fallback enumerator.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

result

enumeration reference to receive the fallback value

Created with MrDocs