std::money_base
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <locale>
|
||
class money_base; |
||
Die Klasse std::money_base bietet Konstanten, die vererbt und werden von den std::moneypunct, std::money_get und std::money_put Facetten verwendet .
Original:
The class std::money_base provides constants which are inherited and used by the std::moneypunct, std::money_get and std::money_put facets.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Mitglied Typen
Mitglied Typ
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
enum part { none, space, symbol, sign, value };
|
ohne Bereichseinschränkung Aufzählungstyp
Original: unscoped enumeration type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
struct pattern { char field[4]; };
|
die monetäre das Format
Original: the monetary format type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Enumeration konstant
Original: Enumeration constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
none
|
Leerzeichen ist erlaubt, aber nicht erforderlich, außer in der letzten Position, wo Leerzeichen nicht zulässig ist
Original: whitespace is permitted but not required except in the last position, where whitespace is not permitted The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
space
|
ein oder mehrere Leerzeichen sind erforderlich
Original: one or more whitespace characters are required The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
symbol
|
die Sequenz von Zeichen durch moneypunct :: curr_symbol zurückgekehrt ist erforderlich
Original: the sequence of characters returned by moneypunct::curr_symbol is required The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
sign
|
die erste der Zeichen durch moneypunct :: positive_sign oder moneypunct zurückgegeben :: negative_sign erforderlich
Original: the first of the characters returned by moneypunct::positive_sign or moneypunct::negative_sign is required The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
value
|
die absolute Zahl monetären Wert ist erforderlich
Original: the absolute numeric monetary value is required The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Notes
Die monetäre Format ist eine Anordnung von vier
chars konvertierbar std::money_base::part. In dieser Sequenz, die jeweils symbol, sign und value genau einmal, und entweder space oder none erscheint in der verbleibenden Position. Das Standardformat, die von den Standard-Spezialisierungen std::moneypunct zurückgegeben wird {symbol, sign, none, value}Original:
The monetary format is an array of four
chars convertible to std::money_base::part. In that sequence, each of symbol, sign, and value appears exactly once, and either space or none appears in the remaining position. The default format, returned by the standard specializations of std::moneypunct is {symbol, sign, none, valueThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
}
Siehe auch
definiert Währungsformatierungsregeln Parameter std::money_get und std::money_put verwendet Original: defines monetary formatting parameters used by std::money_get and std::money_put The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) | |
analysiert und konstruiert einen monetären Wert von einem Eingang Zeichenfolge Original: parses and constructs a monetary value from an input character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) | |
Formate einen monetären Wert für die Ausgabe als Zeichenfolge Original: formats a monetary value for output as a character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) | |