A facet type (mechanism) used in writing decimal floating-point types. Note that this type does not follow BDE conventions because its content is dictated by the C++ standard and native standard library implementations. See ISO/IEC TR 24733 3.10.3 for details.
Declared in <bdldfp_decimal.h>
template<
class CHARTYPE,
class OUTPUTITERATOR = bsl::ostreambuf_iterator<CHARTYPE>>
class DecimalNumPut
: public std::locale::facet
| Name | Description |
|---|---|
std::locale::facet | Localization functionality base class. |
| Name | Description |
|---|---|
char_type | Character type used by this facet. |
iter_type | Output iterator type used by this facet. |
| Name | Description |
|---|---|
DecimalNumPut [constructor] | Constructs a DecimalNumPut object. Optionally specify starting reference count refs, which will default to 0. If refs is non-zero, the DecimalNumPut object will not be deleted when the last locale referencing it goes out of scope. |
put | put overloads |
| Name | Description |
|---|---|
object | Return the locale singleton used to write decimal values to streams. |
| Name | Description |
|---|---|
id | Locale identifier for DecimalNumPut. |
| Name |
|---|
__shim |
| Name | Description |
|---|---|
~DecimalNumPut [destructor] [virtual] | Destroy this object. Note that the destructor is virtual. |
operator= [deleted] | |
do_put | do_put overloads |
do_put_impl | Write characters that represent the specified value into a string of the specified char_type, and output the represented decimal number to the specified out, adjusting for the formatting flags in the specified ios_format and using the specified fill character. Currently, formatting for the formatting flags of justification, width, uppercase, showpos, fixed and scientific are supported. |
| Name |
|---|
_S_clone_c_locale |
_S_create_c_locale |
_S_destroy_c_locale |
_S_get_c_locale |
_S_get_c_name |
_S_lc_ctype_c_locale |