Export (0) Print
Expand All

money_get Class

The template class describes an object that can serve as a locale facet to control conversions of sequences of type CharType to monetary values.

template<
   class CharType,
   class InputIterator = istreambuf_iterator<CharType>
> class money_get : public locale::facet;

CharType

The type used within a program to encode characters in a locale.

InputIterator

The type of iterator from which the get functions read their input.

As with any locale facet, the static object ID has an initial stored value of zero. The first attempt to access its stored value stores a unique positive value in id.

money_get

The constructor for objects of type money_get that are used to extract numerical values from sequences representing monetary values.

char_type

A type that is used to describe a character used by a locale.

iter_type

A type that describes an input iterator.

string_type

A type that describes a string containing characters of type CharType.

do_get

A virtual function called to extracts a numerical value from a character sequence that represents a monetary value.

get

Extracts a numerical value from a character sequence that represents a monetary value.

Header: <locale>

Namespace: std

Show:
© 2014 Microsoft