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