class template
<locale>

std::moneypunct_byname

template <class charT, bool International = false> class numpunct_byname;
Monetary punctuation facet

The moneypunct_byname standard facet overrides moneypunct virtual members to implement its semantics for particular named locales.

Its public interface is the same as moneypunct's, except that its constructor takes an additional std_name argument:

 
explicit moneypunct_byname (const char* std_name, size_t refs = 0);

1
2
explicit moneypunct_byname (const char* std_name, size_t refs = 0);
explicit moneypunct_byname (const string& std_name, size_t refs = 0);


Where std_name is the name of a C locale. The C locales available depend on the system and library implementation, but at least the following are guaranteed to exist on all implementations:
locale namedescription
"C"Minimal "C" locale (the same as locale::classic)
""The environment's default locale

Specializations

At least the following specializations of this template are provided in all library implementations:
specialization
moneypunct_byname<char,false>
moneypunct_byname<wchar_t,false>
moneypunct_byname<char,true>
moneypunct_byname<wchar_t,true>