std::basic_ios::narrow
提供: cppreference.com
|
|
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
| char narrow( char_type c, char dfault ) const; |
||
その標準的な同等物には、現在のロケール固有の文字
cに変換します。必要に応じて結果がchar_typeからcharに変換されます。変換を実行できなかった場合、この関数はdfaultを返します。.Original:
Converts a current locale-specific character
c to its standard equivalent. The result is converted from char_type to char if needed. If no conversion can be performed, the function returns dfault.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.
効果的にstd::use_facet< std::ctype<char_type> >(getloc()).narrow(c, dfault);呼び出し.
Original:
Effectively calls std::use_facet< std::ctype<char_type> >(getloc()).narrow(c, dfault);.
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.
[編集] パラメータ
| c | - | 変換する文字
Original: character to convert The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| dfault | - | 変換が失敗した場合に返される文字
Original: character to return if the conversion was unsuccessful The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
文字は標準等価にしてからcharに変換されます。変換が失敗した場合
dfault返され.Original:
Character converted to its standard equivalent and then to char.
dfault is returned if the conversion fails.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.
[編集] 参照
| widens characters (パブリックメンバ関数) | |

