---
name: "std::money_base"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/std::money_base"
---

# std::money\_base(3)

Money format ordering data.

## NAME

std::money\_base - Money format ordering data.

## SYNOPSIS

\#include \<locale\>

Inherited by **std::moneypunct\< \_CharT, \_Intl \>**.

### Public Types

enum { **\_S\_minus**, **\_S\_zero**, **\_S\_end** }\
 enum **part** { **none**, **space**, **symbol**, **sign**, **value** }\

### Static Public Member Functions

static pattern **\_S\_construct\_pattern** (char \_\_precedes, char \_\_space, char \_\_posn)  throw ()\

### Static Public Attributes

static const char \* **\_S\_atoms**\
 static const pattern **\_S\_default\_pattern**\

## Detailed Description

Money format ordering data.

This class contains an ordered array of 4 fields to represent the pattern for formatting a money amount. Each field may contain one entry from the part enum. symbol, sign, and value must be present and the remaining field must contain either none or space.

**See also**

moneypunct::pos\_format() and moneypunct::neg\_format() for details of how these fields are interpreted.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
