Remove all elements from this vector making its size 0. Note that although this vector is empty after this method returns, it preserves the same capacity it had before the method was called.
Declared in <bslstl_vector.h>
<bslstl_vector.h>
void clear() noexcept;