libstdc++
std::money_base Class Reference

#include <locale_facets_nonio.h>

Inheritance diagram for std::money_base:
[legend]

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.

Definition at line 966 of file locale_facets_nonio.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 974 of file locale_facets_nonio.h.

◆ part

enum std::money_base::part

Definition at line 969 of file locale_facets_nonio.h.

Member Data Documentation

◆ _S_atoms

const char* std::money_base::_S_atoms
static

Definition at line 983 of file locale_facets_nonio.h.

◆ _S_default_pattern

const pattern std::money_base::_S_default_pattern
static

Definition at line 972 of file locale_facets_nonio.h.


The documentation for this class was generated from the following file: