std::packaged_task<R(Args...)>::valid (3) - Linux Manuals

std::packaged_task<R(Args...)>::valid: std::packaged_task<R(Args...)>::valid

NAME

std::packaged_task<R(Args...)>::valid - std::packaged_task<R(Args...)>::valid

Synopsis


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.