Swap the value of the specified a object with the value of the specified b object.

Synopsis

Declared in <ball_userfields.h>

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

Description

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.

Parameters

Name

Description

a

first object to exchange

b

second object to exchange

Created with MrDocs