Share via


moneypunct Class

The template class describes an object that can serve as a locale facet to describe the sequences of type CharType used to represent a monetary input field or a monetary output field. If the template parameter Intl is true, international conventions are observed.

For a list of all members of this type, see moneypunct Members.

template<class CharType, bool Intl> 
class moneypunct

Parameters

  • CharType
    The type used within a program to encode characters.

  • Intl
    A flag specifying whether international conventions are to be observed.

Remarks

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.

The const static object intl stores the value of the template parameter Intl.

Requirements

Header: <locale>

Namespace: std

See Also

Reference

Thread Safety in the Standard C++ Library

Other Resources

moneypunct Members

<locale> Members