[#BloombergLP-bsls-Alignment-toAscii] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Alignment.adoc[Alignment]::toAscii :relfileprefix: ../../../ :mrdocs: Return the string representation of the specified enumerator `value`. == Synopsis Declared in `<bsls_alignment.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* toAscii(xref:BloombergLP/bsls/Alignment/Strategy.adoc[Alignment::Strategy] value); ---- == Description The string representation of `value` matches its corresponding enumerator name with the "BSLS_" prefix elided. For example: ` bsl::cout << Alignment::toAscii(Alignment::BSLS_NATURAL); ` will print the following on standard output: ` NATURAL ` == Return Value string representation of `value` with the "BSLS_" prefix elided == Parameters [cols="1,4"] |=== | Name| Description | *value* | alignment strategy enumerator to convert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#