Files
2025-10-25 03:02:53 +03:00

21 lines
572 B
Markdown

[thread.jthread.special]
# 32 Concurrency support library [[thread]](./#thread)
## 32.4 Threads [[thread.threads]](thread.threads#thread.jthread.special)
### 32.4.4 Class jthread [[thread.jthread.class]](thread.jthread.class#thread.jthread.special)
#### 32.4.4.5 Specialized algorithms [thread.jthread.special]
[🔗](#lib:swap,jthread)
`friend void swap(jthread& x, jthread& y) noexcept;
`
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/threads.tex#L2277)
*Effects*: Equivalent to: x.swap(y)[.](#1.sentence-1)