std::basic_string::clear
提供: cppreference.com
< cpp | string | basic string
![]() | このページは、Google 翻訳を使って英語版から機械翻訳されました。 翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
void clear(); | ||
Removes all characters from the string. The allocated memory will not be released, effectively leaving the capacity
of the string unchanged. The past-the-end iterators are not invalidated.
目次 |
[編集]パラメータ
(なし)
[編集]値を返します
(なし)
[編集]複雑性
linear in the size of the string.
[編集]参照
文字を削除します (パブリックメンバ関数) |