Exchange the contents of this vector with those of the specified other.
Declared in <bslstl_vector.h>
void
swap(vector<VALUE_TYPE*, ALLOCATOR>& other) noexcept(/* see-below */);
This function is potentially-throwing unless noexcept(this->d_impl.swap(other.d_impl)).
| Name | Description |
|---|---|
| other | vector with which to exchange contents |