bsl::vector<VALUE_TYPE*, ALLOCATOR>::swap

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

NameDescription
othervector with which to exchange contents