BloombergLP::bdlar::bdlat_enumToInt

Load into the specified result the integer representation of the specified value.

Synopsis

Declared in <bdlar_enumref.h>

void
bdlat_enumToInt(
    int* result,
    EnumConstRef const& value);

Parameters

NameDescription
resultinteger to receive the enumerator value
valueconst enumeration reference to convert