Load into the specified result the string representation of the enumerator value held by the specified value.

Synopsis

Declared in <bdlat_enumfunctions.h>

template<class TYPE>
void
toString(
    bsl::string* result,
    TYPE const& value);

Parameters

Name

Description

result

string to receive the enumerator name

value

enumeration value to convert

Created with MrDocs