std::experimental::packaged_task (library fundamentals TS)

Header: <experimental/future>

This page is about the modified version of std::packaged_task with type-erased allocator support provided by the Library Fundamentals TSes. For the version of packaged_task provided by the concurrency TS supporting the std::future improvements made by that TS, see std::experimental::concurrency_v1::packaged_task.

# Declarations

template< class > class packaged_task; //not defined

(library fundamentals TS)

template< class R, class ...Args >
class packaged_task<R(Args...)>;

(library fundamentals TS)