Namensräume
Varianten

std::{{{1}}}::clear

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>
void clear();
(Kein Container - C + 11 Funktion)
Original:
(no container - C++11 feature)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Entfernt alle Elemente aus dem Container. Die past-the-end Iteratoren sind nicht ungültig .
Original:
Removes all elements from the container. 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.

Parameter

(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ausnahmen

1-3)

noexcept specification:  
<tbody> </tbody>
noexcept
  (seit C++11)

Komplexität

linear in der Größe des Behälters .
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.

Siehe auch

löscht Elemente
Original:
erases elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::{{{1}}}) [edit]