std::basic_string::operator+=
提供: cppreference.com
< cpp | string | basic string
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
basic_string& operator+=( const basic_string& str ); |
(1) | |
basic_string& operator+=( CharT ch ); |
(2) | |
basic_string& operator+=( CharT* s ); |
(3) | |
basic_string& operator+=( std::initializer_list<CharT> ilist ); |
(4) | (C++11およびそれ以降) |
文字列の末尾に追加addinional文字を.
1) Original:
Appends addinional characters to the string.
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.
付加列
2) str
Original:
Appends string
str
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.
付加文字
3) ch
Original:
Appends character
ch
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.
付加は、NULLで終わる文字列は
4) s
によって指さ. Original:
Appends the null-terminated character string pointed to by
s
. 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.
初期化子リストの末尾に追加する文字
ilist
.Original:
Appends characters in the initializer list
ilist
.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.
目次 |
[編集] パラメータ
ch | - | 文字は値付加する
Original: character value to append The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
str | - | 追加する文字列
Original: string to append The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
s | - | 付加するNULLで終わる文字列へのポインタ
Original: pointer to a null-terminated character string to append The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
init | - | 付加する文字で初期化子リスト
Original: initializer list with the characters to append The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
*this
[編集] 複雑性
1)str
の大きさに比例Original:
linear in size of
str
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.
定数
3) Original:
constant
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.
s
の大きさに比例Original:
linear in size of
s
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.
init
の大きさに比例Original:
linear in size of
init
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.
[編集] 例
This section is incomplete Reason: no example |
[編集] 参照
文字列に文字を割り当てます Original: assign characters to a string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) |