std::stop_source(3cxx)

std::stop_source3cxx

A type that allows a stop request to be made.

Usage

#include <stop_token>

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

Friends

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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.