Write characters (of char_type) that represent the specified value to the output stream determined by the specified out output iterator. Use the bsl::ctype and the bsl::numpunct facets imbued to the specified stream‐base ios_format as well as the formatting flags of the ios_format (bsl.flags()) to generate the properly localized output. The specified fill character will be used as a placeholder character in padded output. For further, more detailed information please consult the section [lib.facet.num.put.virtuals]of the C++ Standard noting that the length modifiers "H", "D" and "DD" are added to the conversion specifiers of for the types Decimal32, 64 and 128, respectively. Also note that these (possibly overridden) do_put virtual function are used by every formatted C++ stream output operator call (out << aDecNumber). Note that currently, only the width, capitalization, justification, fixed and scientific formatting flags are supported, and the operators only support code pages that include the ASCII sub‐range. Because of potential future improvements to support additional formatting flags, the operations should not be used for serialization.
Synopsis
Declared in <bdldfp_decimal.h>
virtual
iter_type
do_put(
iter_type out,
std::ios_base& ios_format,
char_type fill,
Decimal32 value) const;
Created with MrDocs