std::stop_source:: swap
From cppreference.net
<
cpp
|
thread
|
stop source
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::stop_source
| Member functions | ||||
| Modifiers | ||||
|
stop_source::swap
|
||||
| Observers | ||||
| Non-member functions | ||||
| Helper tags | ||||
|
void
swap
(
std::
stop_source
&
otro
)
noexcept
;
|
(desde C++20) | |
Intercambia el estado de parada de * this y other .
Parámetros
| otro | - |
stop_source
para intercambiar el contenido con
|
Valor de retorno
(ninguno)