Return the string representation of the specified enumerator value.
Synopsis
Declared in <bsls_alignment.h>
static
char const*
toAscii(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
Name |
Description |
value |
alignment strategy enumerator to convert |
Created with MrDocs