std::money_base
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <locale>
|
||
class money_base; |
||
Il std::money_base classe fornisce costanti che vengono ereditati e utilizzati dai std::moneypunct, std::money_get e std::money_put sfaccettature.
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.
Membri tipi
Membro tipo
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 };
|
enumerazione senza ambito
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]; };
|
il tipo di formato monetaria
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. |
Enumerazione costante
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
|
spazio bianco è consentito, ma non richiesto, tranne in ultima posizione, in cui spaziatura non è consentita
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
|
uno o più caratteri di spaziatura sono obbligatori
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 sequenza di caratteri restituiti da moneypunct :: curr_symbol è richiesto
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
|
il primo dei caratteri restituiti dalla moneypunct :: positive_sign o moneypunct :: negative_sign è richiesto
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
|
l'assoluto valore numerico monetario è necessario
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. |
Note
Il formato monetaria è un array di quattro
chars convertibili in std::money_base::part. In quella sequenza, ciascuna delle symbol, sign e value appare esattamente una volta, e sia space o none appare nella posizione rimanente. Il formato di default, restituiti dalle specializzazioni standard di std::moneypunct è {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.
}
Vedi anche
definisce i parametri di formattazione monetari utilizzati da std::money_get e 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 template) | |
analizza e costruisce un valore monetario da una sequenza di caratteri di input 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 template) | |
formati di un valore monetario per l'uscita come una sequenza di caratteri 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 template) | |