std::packaged_task<R(Args...)>:: valid
From cppreference.com
<
cpp
|
thread
|
packaged task
C++
Concurrency support library
|
|
std::packaged_task
Member functions | ||||
packaged_task::valid
|
||||
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.
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/thread/packaged_task/valid&oldid=132865
"