GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::thread::operator=(3) C++ Standard Libary std::thread::operator=(3)

std::thread::operator= - std::thread::operator=


thread& operator=( thread&& other ) noexcept; (since C++11)


If *this still has an associated running thread (i.e. joinable() == true), calls
std::terminate(). Otherwise, assigns the state of other to *this and sets other to a
default constructed state.


After this call, this->get_id() is equal to the value of other.get_id() prior to the
call, and other no longer represents a thread of execution.


other - another thread object to assign to this thread object


*this

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.