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

Synopsis

Declared in <bslstl_stoptoken.h>

void
swap(stop_token& other) noexcept;

Description

Equivalent to swap(*this, other).

Parameters

Name

Description

other

token with which to exchange stop states

Created with MrDocs