BloombergLP::bdlbb::swap

Efficiently exchange the values of the specified a and b objects.

Synopses

Declared in <bdlbb_blob.h>

Efficiently exchange the values of the specified a and b objects.

void
swap(
    Blob& a,
    Blob& b);
» more...

Efficiently exchange the values of the specified a and b objects.

void
swap(
    BlobBuffer& a,
    BlobBuffer& b);
» more...

Parameters

NameDescription
afirst blob to exchange
bsecond blob to exchange