Standard C++ Library Reference ISO/IEC (VERSION3)
~messages_byname();
};
The template class describes an object that can serve as a locale facet of type messages<Elem>. Its behavior is
determined by the named locale locname. The constructor initializes its base object with
messages<Elem>(refs).
money_base
class money_base {
enum part {none, sign, space, symbol, value};
struct pattern {
char field[4];
};
};
The class describes an enumeration and a structure common to all specializations of template class moneypunct. The
enumeration part describes the possible values in elements of the array field in the structure pattern. The values
of part are:
none to match zero or more spaces or generate nothing●
sign to match or generate a positive or negative sign●
space to match zero or more spaces or generate a space●
symbol to match or generate a currency symbol●
value to match or generate a monetary value●
money_get
template<class Elem,
class InIt = istreambuf_iterator<Elem> >
class money_get : public locale::facet {
public:
typedef Elem char_type;
typedef InIt iter_type;
typedef basic_string<Elem> string_type;
explicit money_get(size_t refs = 0);
iter_type get(iter_type first, iter_type last,
bool intl, ios_base& iosbase, ios_base::iostate& state,
long double& val) const;
iter_type get(iter_type first, iter_type last,
bool intl, ios_base& iosbase, ios_base::iostate& state,
string_type& val) const;
static locale::id id;
protected:
~money_get();
virtual iter_type do_get(iter_type first,
iter_type last, bool intl, ios_base& iosbase,
ios_base::iostate& state, string_type& val) const;
virtual iter_type do_get(iter_type first,
iter_type last, bool intl, ios_base& iosbase,
ios_base::iostate& state, long double& val) const;
};
The template class describes an object that can serve as a locale facet, to control conversions of sequences of type Elem