A RetroSearch Logo

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

Search Query:

Showing content from https://cplusplus.com/reference/condition_variable/condition_variable_any/condition_variable_any/ below:

public member function

<condition_variable>

std::condition_variable_any::condition_variable_any default (1)
condition_variable_any();
copy [deleted] (2)
condition_variable_any (const condition_variable_any&) = delete;

Construct condition_variable_any

Constructs a condition_variable_any object.

condition_variable objects cannot be copied/moved (both the copy constructor and assignment operator are deleted for this type).



Parameters none

Exception safetyStrong guarantee: no effects in case an exception is thrown.
A failure to allocate memory may be signaled by throwing bad_alloc.

If the construction fails, a system_error exception is thrown:


Depending on the library implementation, it may throw exceptions on other situations (such as bad_alloc on a failure to allocate memory).

See also
condition_variable_any::wait
Wait until notified (public member function)
condition_variable_any::notify_one
Notify one (public member function)

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