std::packaged task

GPTKB entity

Statements (24)
Predicate Object
gptkbp:instanceOf C++ Standard Library class template
gptkbp:copyConstructible false
gptkbp:definedIn <future> header
gptkbp:destructor destroys the stored task
gptkbp:function reset
swap
valid
get_future
operator()
https://www.w3.org/2000/01/rdf-schema#label std::packaged task
gptkbp:introducedIn gptkb:C++11
gptkbp:moveConstructible true
gptkbp:namespace std
gptkbp:parameter Function
gptkbp:provides future
gptkbp:purpose wraps a callable target for asynchronous execution
gptkbp:relatedTo gptkb:std::future
gptkb:std::promise
gptkbp:standardizedBy gptkb:ISO/IEC_14882
gptkbp:threadSafe not thread-safe
gptkbp:uses asynchronous task execution
gptkbp:bfsParent gptkb:std::future
gptkb:C++11_thread_library
gptkbp:bfsLayer 7