共用方式為


completion_future::valid Method

Gets a Boolean value that indicates whether the object is associated with an asynchronous operation.

bool valid() const;

Return Value

true if the object is associated with an asynchronous operation; otherwise, false.

Requirements

Header: amprt.h

Namespace: concurrency

See Also

Reference

completion_future Class