Efficiently exchange the value of this object with the value of the specified other object.

Synopsis

Declared in <ball_userfieldvalue.h>

void
swap(UserFieldValue& other);

Description

This method provides the no‐throw exception‐safety guarantee if either type() is the same as other.type(), or neither type() nor other.type() is a type that requires allocation; otherwise, it provides the basic guarantee. The behavior is undefined unless this object was created with the same allocator as other.

Parameters

Name

Description

other

object to exchange values with

Created with MrDocs