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

Synopsis

Declared in <bdlbb_blob.h>

void
swap(
    Blob& a,
    Blob& b);

Description

This method provides the no‐throw exception‐safety guarantee if both objects were created with the same allocator.

Parameters

Name

Description

a

first blob to exchange

b

second blob to exchange

Created with MrDocs