名前空間
変種
操作

std::money_base

提供: cppreference.com
< cpp‎ | locale

 
 
 
ヘッダ <locale> で定義
class money_base;
クラスstd::money_basestd::moneypunctstd::money_getstd::money_putファセットによって継承され、使用されている定数を提供しています.
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.

[編集] メンバータイプ

メンバー·タイプ
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 };
対象範囲外の列挙型
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]; };
金銭的な形式のタイプです
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.
列挙定数
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
空白は空白は許可されていない最後の位置を除いて許可されますが、必須ではありません
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
1つ以上の空白文字が必要です
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
moneypunct :: curr_symbolによって返された文字のシーケンスが必要です
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
moneypunct :: positive_signまたはmoneypunctによって返された文字の最初のものは:: negative_signが必要です
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
絶対数値貨幣価値が必要です
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.

[編集] ノート

金銭的なフォーマットはcharに転換4std::money_base::partsの配列です。そのシーケンスでは、symbolの各々は、sign、そしてvalueが正確に1回だけ表示され、どちらspaceまたはnone残りの位置に表示されます。 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, value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
}

[編集] 参照

std::money_get および std::money_put で使用される金額の書式パラメータを定義します
(クラステンプレート) [edit]
入力文字シーケンスから金額の値をパースおよび構築します
(クラステンプレート) [edit]
文字シーケンスとして出力するために金額の値をフォーマットします
(クラステンプレート) [edit]