[#BloombergLP-bsltf-CopyMoveState-0e-toAscii] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::xref:BloombergLP/bsltf/CopyMoveState-0e.adoc[CopyMoveState]::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 << CopyMoveState::toAscii(CopyMoveState::e_COPIED_INTO); ` will print the following on standard output: ` COPIED_INTO ` Any of the *_INTO enums can be bitwise ORed with e_MOVED_FROM, in which case the resulting string will be a comma‐separated list of two names, e.g., "COPIED_CONST_INTO, MOVED_FROM". Note that specifying a `value` that does not match any valid combination of 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 `<bsltf_copymovestate.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* toAscii(xref:BloombergLP/bsltf/CopyMoveState-0e/Enum.adoc[CopyMoveState::Enum] value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#