Scroll to navigation

std::packaged_task::valid(3) C++ Standard Libary std::packaged_task::valid(3)

NAME

std::packaged_task::valid - std::packaged_task::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.

2026.11.10 http://cppreference.com