money_base Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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.

struct pattern { char field[_PATTERN_FIELD_SIZE]; };

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.

Header: <locale>

Namespace: std

Thread Safety in the C++ Standard Library

Show: