BloombergLP::ball::UserFields::swap

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

Synopsis

Declared in <ball_userfields.h>

void
swap(UserFields& other);

Description

This method provides the no-throw exception-safety guarantee. The behavior is undefined unless this object was created with the same allocator as other.

Parameters

NameDescription
otherobject to exchange values with