Share via


money_base Class

 

The latest version of this topic can be found at money_base Class.

The class describes an enumeration and a structure common to all specializations of template class moneypunct.

Syntax

struct pattern { char field[_PATTERN_FIELD_SIZE]; };

Remarks

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.

Requirements

Header: <locale>

Namespace: std

See Also

Thread Safety in the C++ Standard Library