BloombergLP::bdlc::PackedIntArray::swap

Efficiently exchange the value of this array with the value of the specified other array. This method provides the no-throw exception-safety guarantee. The behavior is undefined unless this array was created with the same allocator as other.

Synopsis

Declared in <bdlc_packedintarray.h>

void
swap(PackedIntArray& other);