BloombergLP::ball::swap

Swap the value of the specified a object with the value of the specified b object. If a and b were created with the same allocator, then this method provides the no-throw exception-safety guarantee; otherwise, it provides the basic guarantee.

Synopsis

Declared in <ball_userfields.h>

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