Name

moneypunct_byname class template — Facet for punctuation of monetary values

Synopsis

template <typename charT, bool Intl = false>
class moneypunct_byname : public moneypunct<charT, Intl>
{
public:
  typedef money_base::pattern pattern;
  typedef basic_string<charT> string_type;
  explicit moneypunct_byname(const char*, size_t refs = 0);
protected:
  //  . . .  Same virtual functions as in moneypunct
};

The moneypunct_byname class template provides formatting characters and information for monetary values using the rules of a named locale. The moneypunct_byname<char,International> and moneypunct_byname<wchar_t,International> instantiations are standard.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.