packaged_task::operator bool Operator
Specifies whether the object has an associated asynchronous state.
operator bool() const _NOEXCEPT;
Return Value
true if the object has an associated asynchronous state; otherwise, false.
Requirements
Header: future
Namespace: std