std::stop_source - Man Page

A type that allows a stop request to be made.


Public Member Functions

stop_source (const stop_source &__other) noexcept
stop_source (std::nostopstate_t) noexcept
stop_source (stop_source &&) noexcept=default
stop_token get_token () const noexcept
stop_source & operator= (const stop_source &__other) noexcept
stop_source & operator= (stop_source &&) noexcept=default
bool request_stop () const noexcept
bool stop_possible () const noexcept
bool stop_requested () const noexcept
void swap (stop_source &__other) noexcept


bool operator== (const stop_source &__a, const stop_source &__b) noexcept
void swap (stop_source &__lhs, stop_source &__rhs) noexcept

Detailed Description

A type that allows a stop request to be made.

Definition at line 479 of file stop_token.

Constructor & Destructor Documentation

std::stop_source::stop_source () [inline]

Definition at line 482 of file stop_token.

std::stop_source::stop_source (std::nostopstate_t) [inline], [explicit], [noexcept]

Definition at line 485 of file stop_token.

std::stop_source::stop_source (const stop_source & __other) [inline], [noexcept]

Definition at line 488 of file stop_token.

std::stop_source::~stop_source () [inline]

Definition at line 513 of file stop_token.

Member Function Documentation

stop_token std::stop_source::get_token () const [inline], [noexcept]

Definition at line 543 of file stop_token.

stop_source & std::stop_source::operator= (const stop_source & __other) [inline], [noexcept]

Definition at line 498 of file stop_token.

bool std::stop_source::request_stop () const [inline], [noexcept]

Definition at line 534 of file stop_token.

bool std::stop_source::stop_possible () const [inline], [noexcept]

Definition at line 521 of file stop_token.

bool std::stop_source::stop_requested () const [inline], [noexcept]

Definition at line 528 of file stop_token.

void std::stop_source::swap (stop_source & __other) [inline], [noexcept]

Definition at line 549 of file stop_token.


Generated automatically by Doxygen for libstdc++ from the source code.


Thu Jan 19 2023 libstdc++