Scroll to navigation

std::stop_token::~stop_token(3) C++ Standard Libary std::stop_token::~stop_token(3)

NAME

std::stop_token::~stop_token - std::stop_token::~stop_token

Synopsis

~stop_token(); (since C++20)

Destroys the stop_token object.

If *this has associated stop-state, releases ownership of it.

2026.11.10 http://cppreference.com