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

Synopsis

Declared in <ball_userfieldvalue.h>

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

Description

This method provides the no‐throw exception‐safety guarantee if either a.type() is the same as b.type() and a and b were created with the same allocator, or neither a.type() nor b.type() is a type that requires allocation; otherwise, it provides the basic guarantee.

Parameters

Name

Description

a

first object to exchange

b

second object to exchange

Created with MrDocs