[#BloombergLP-bslx-TypeCode-toAscii] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/TypeCode.adoc[TypeCode]::toAscii :relfileprefix: ../../../ :mrdocs: Return the non‐modifiable string representation corresponding to the specified enumeration `value`, if it exists, and a unique (error) string otherwise. The string representation of `value` matches its corresponding enumerator name with the "e_" prefix elided. For example: ` bsl::cout << TypeCode::toAscii(TypeCode::e_INT32); ` will print the following on standard output: ` INT32 ` Note that specifying a `value` that does not match any of the enumerators will result in a string representation that is distinct from any of those corresponding to the enumerators, but is otherwise unspecified. == Synopsis Declared in `<bslx_typecode.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* toAscii(xref:BloombergLP/bslx/TypeCode/Enum.adoc[TypeCode::Enum] value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#