32 Thread support library [thread]

32.4 Threads [thread.threads]

32.4.2 Class thread [thread.thread.class]

32.4.2.7 Specialized algorithms [thread.thread.algorithm]

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