cpp / latest / thread / stop_source / ~stop_source.html /

std::stop_source::~stop_source

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

Destroys the stop_source 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_source/%7Estop_source