A facet type (mechanism) used in reading 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.2 for details.

Synopsis

Declared in <bdldfp_decimal.h>

template<
    class CHARTYPE,
    class INPUTITERATOR = bsl::istreambuf_iterator<CHARTYPE>>
class DecimalNumGet
    : public std::locale::facet

Base Classes

Name

Description

std::locale::facet

Localization functionality base class.

Type Aliases

Name

Description

char_type

Character type used by this facet.

iter_type

Input iterator type used by this facet.

Member Functions

Name

Description

DecimalNumGet [constructor]

Constructs a DecimalNumGet object. Optionally specify starting reference count refs, which will default to 0. If refs is non‐zero, the DecimalNumGet object will not be deleted when the last locale referencing it goes out of scope.

get

get overloads

Static Member Functions

Name

Description

object

Return the locale singleton used to read decimal values from streams.

Static Data Members

Name

Description

id

Locale identifier for DecimalNumGet.

Protected Types

Name

__shim

Protected Member Functions

Name

Description

~DecimalNumGet [destructor] [virtual]

Destroy this object. Note that the destructor is virtual.

operator= [deleted]

do_get

do_get overloads

Protected Static Member Functions