Efficiently exchange the value of this object with the value of the specified other object. This method provides the no‐throw exception‐safety guarantee.

Synopsis

Declared in <bslstl_setcomparator.h>

void
swap(SetComparator& other);

Parameters

Name

Description

other

comparator with which to exchange values

Created with MrDocs