BloombergLP::bdlc::PackedIntArray::swap

Efficiently exchange the value of this array with that of other.

Synopsis

Declared in <bdlc_packedintarray.h>

void
swap(PackedIntArray& other);

Description

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

Parameters

NameDescription
otherarray with which to exchange values