المتغيرات
فضاءات التسمية
أفعال

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

من cppreference.com
void clear();
قالب:mark since none

Removes all elements from the container.

Invalidates any references, pointers, or iterators referring to contained elements. May invalidate any past-the-end iterators.

محتويات

[تعديل] Parameters

(none)

[تعديل] Return value

(none)

[تعديل] Exceptions

noexcept specification:  
noexcept
  (since C++11)

[تعديل] Complexity

Linear in the size of the container.

[تعديل] See also

قالب:dsc mem fun