std::packaged_task<R(Args...)>::valid
From cppreference.com
C++
Concurrency support library
|
|
std::packaged_task
| Member functions |
| Getting the result |
| Execution |
| Non-member functions |
| Helper classes |
(until C++17) |
| Deduction guides(C++17) |
bool valid() const noexcept;
|
(since C++11) | |
Checks whether *this has a shared state.
Parameters
(none)
Return value
true if *this has a shared state, false otherwise.