A facet type (mechanism) used in reading decimal floating‐point types.

Synopsis

Declared in <bdldfp_decimal.h>

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

Description

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.

Base Classes

Name

Description

std::locale::facet

Localization functionality base class.

Type Aliases

Name

Description

char_type

Character type of this facet.

iter_type

Input iterator type used by this facet.

Member Functions

Name

Description

DecimalNumGet [constructor]

Constructs a DecimalNumGet object.

get

get overloads

Static Member Functions

Name

Description

object

Return a reference to a process‐wide default DecimalNumGet facet.

Static Data Members

Name

Description

id

Unique identifier used to locate this facet in a bsl::locale.

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

Parse a decimal value from the specified iterator range into value.

Protected Static Member Functions