std::money_base
De 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>| Déclaré dans l'en-tête <locale>
|
||
class money_base; |
||
Le std::money_base classe fournit des constantes qui sont héritées et utilisées par les std::moneypunct, std::money_get et std::money_put facettes .
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.
Types de membres
| Type du membre | Définition |
enum part { none, space, symbol, sign, value };
|
type d'énumération sans portée
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]; };
|
le type de format monétaire
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. |
Énumération constante
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
|
espaces sont autorisés, mais pas nécessaire, sauf en dernière position, où les espaces sont pas autorisés
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
|
un ou plusieurs caractères d'espacement sont nécessaires
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
|
la séquence de caractères renvoyés par moneypunct :: curr_symbol est nécessaire
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
|
le premier des caractères renvoyés par moneypunct :: positive_sign ou moneypunct :: negative_sign est nécessaire
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
|
la valeur absolue numérique monétaire est nécessaire
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
Le format monétaire est un tableau de quatre
chars convertibles en std::money_base::part. En ce que la séquence, chacune des symbol, sign, et value apparaît exactement une fois, et supporte space ou none apparaît dans la position restante. Le format par défaut, retournés par les spécialisations standard de std::moneypunct est {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.
}
Voir aussi
définit les paramètres de mise en forme monétaire utilisés par std::money_get et std::money_put 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. (classe générique) | |
analyse et construit une valeur monétaire à partir d'une séquence de caractères d'entrée 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. (classe générique) | |
formate une valeur monétaire pour la sortie comme une séquence de caractères 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. (classe générique) | |