A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4140/thread.thread.assign below:

[thread.thread.assign]

30.3.1.4 thread assignment [thread.thread.assign]

thread& operator=(thread&& x) noexcept;

1

Effects: If joinable(), calls std::terminate(). Otherwise, assigns the state of x to *this and sets x to a default constructed state.

2

Postconditions: x.get_id() == id() and get_id() returns the value of x.get_id() prior to the assignment.

3

Returns: *this


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4