Edit

Share via


money_base Class

The class describes an enumeration and a structure common to all specializations of class template 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