30 Thread support library [thread]

30.3 Threads [thread.threads]

30.3.2 Class thread [thread.thread.class]

30.3.2.7 Specialized algorithms [thread.thread.algorithm]

void swap(thread& x, thread& y) noexcept;
Effects: As if by x.swap(y).