Namespaces
Variants
Views
Actions

std::packaged_task::valid

From cppreference.com
< cpp‎ | thread‎ | packaged task
Revision as of 20:19, 2 November 2012 by P12bot (Talk | contribs)

bool valid() const;
(since C++11)

Checks whether *this has a shared state.

Parameters

(none)

Return value

true if *this has a shared state, false otherwise.

Exceptions

noexcept specification:  
noexcept