|
BDE 4.14.0 Production release
|
Provide masks for interpreting status from charconvert functions.
This component provides a namespace for the enum type bdlde::CharConvertStatus::Enum, which enumerates the set of bit-wise masks that can be used to interpret return values from translation functions in components bdlde_charconvertutf16 and bdlde_charconvertucs2 .
This section illustrates intended use of this component.
The following snippets of code provide a simple illustration of bdlde::CharConvertStatus usage.
First, we create a variable value of type bdlde::CharConvertStatus::Enum and initialize it with the value 3, which is not a valid value of the enum.
Next, we store a pointer to its ASCII representation in a variable asciiValue of type const char *:
Finally, we print value to bsl::cout.
This statement produces the following output on stdout: