cpp / latest / thread / stop_token / ~stop_token.html /

std::stop_token::~stop_token

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

Destroys the stop_token object.

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

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/thread/stop_token/%7Estop_token