[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)
