A facet type (mechanism) used in writing decimal floating-point types.
Declared in <bdldfp_decimal.h>
template<
class CHARTYPE,
class OUTPUTITERATOR = bsl::ostreambuf_iterator<CHARTYPE>>
class DecimalNumPut
: public std::locale::facet
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.
| Name | Description |
|---|---|
std::locale::facet | Localization functionality base class. |
| Name | Description |
|---|---|
char_type | Character type of this facet. |
iter_type | Output iterator type used by this facet. |
| Name | Description |
|---|---|
DecimalNumPut [constructor] | Constructs a DecimalNumPut object. |
put | Forward to, and return using the specified out, str, fill, and value, the results of this->do_put(out, str, fill, value). |
| Name | Description |
|---|---|
object | Return a reference to a process-wide default DecimalNumPut facet. |
| Name | Description |
|---|---|
id | Unique identifier used to locate this facet in a bsl::locale. |
| 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 | Format the specified value and write it through out. |
| 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 |