Namespaces
Variants
Views
Actions

std::packaged_task::valid

From cppreference.com
< cpp‎ | thread‎ | packaged task
Revision as of 18:32, 9 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
bool valid() const;
(since C++11)

Checks whether *this has a shared state.

[edit] Parameters

(none)

[edit] Return value

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

[edit] Exceptions

noexcept specification:  
noexcept