共用方式為


condition_variable_any::condition_variable_any Constructor

Constructs a condition_variable_any object.

condition_variable_any();

Remarks

If not enough memory is available, the constructor throws a system_error object that has a not_enough_memory error code. If the object cannot be constructed because some other resource is not available, the constructor throws a system_error object that has a resource_unavailable_try_again error code.

Requirements

Header: condition_variable

Namespace: std

See Also

Reference

condition_variable_any Class

<condition_variable>