Exchange the stop states referred to by *this and other.

Synopsis

Declared in <bslstl_stoptoken.h>

void
swap(stop_source& other) noexcept;

Description

Equivalent to swap(*this, other).

Parameters

Name

Description

other

source with which to exchange stop states

Created with MrDocs