|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Modifiers | ||||
| Observers | ||||
| Non-member functions | ||||
swap(std::stop_source) | ||||
| Helper tags | ||||
friendvoid swap( stop_source& lhs, stop_source& rhs)noexcept; | (since C++20) | |
Overloads thestd::swap algorithm forstd::stop_source. Exchanges the stop-state oflhs with that ofrhs. Effectively callslhs.swap(rhs).
This function is not visible to ordinaryunqualified orqualified lookup, and can only be found byargument-dependent lookup when std::stop_source is an associated class of the arguments.
| lhs, rhs | - | stop_sources to swap |
(none)