std::vector::clear
提供:cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| void clear(); |
||
コンテナからすべての要素を削除します。 The allocated memory will not be released, effectively leaving the
capacity of the vector unchanged.終了反復反復子は無効になりません. Original:
Removes all elements from the container. The allocated memory will not be released, effectively leaving the
capacity of the vector unchanged. The past-the-end iterators are not invalidated. 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.
目次 |
[編集] パラメータ
(なし)
Original:
(none)
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.
[編集] 値を返します
(なし)
Original:
(none)
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.
[編集] 例外
1-3)[編集] 複雑
容器の大きさに比例.
Original:
linear in the size of the container.
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.
[編集] も参照してください
| 要素を消去します (パブリックメンバ関数) | |