home | help
std::condit...variable_any(3)  C++ Standard Libary std::condit...variable_any(3)

NAME
     std::condition_variable_any::condition_variable_any  - std::condition_vari-
     able_any::condition_variable_any

Synopsis
	condition_variable_any();					     (1)
     (since C++11)
	condition_variable_any(  const	condition_variable_any&  ) = delete; (2)
     (since C++11)

	1) Constructs an object of type std::condition_variable_any.
	2) Copy constructor is deleted.

Parameters
	(none)

Exceptions
	1) May throw std::system_error with std::error_condition equal to
	std::errc::operation_not_permitted if the thread  has  no  privilege  to
     create a
	condition  variable, std::errc::resource_unavailable_try_again if a non-
     memory
	resource limitation prevents this initialization, or another implementa-
     tion-defined
	value.

       Defect reports

	The following behavior-changing defect	reports  were  applied	retroac-
     tively to
	previously published C++ standards.

	   DR	 Applied to		 Behavior as published		    Cor-
     rect behavior
	LWG 2092 C++11	    the error condition for			    cor-
     rected
			    resource_unavailable_try_again was wrong

See also
	C documentation for
	cnd_init

http://cppreference.com 	   2024.06.10	   std::condit...variable_any(3)

home | help