bool valid() const noexcept; | (since C++11) |
Checks whether *this
has a shared state.
(none).
true
if *this
has a shared state, false
otherwise.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/thread/packaged_task/valid