Documentation Home >> Headers >> <jss/experimental_future.hpp> Header >> std::experimental::packaged_task >> std::experimental::packaged_task Default Constructor

Construct a std::experimental::packaged_task object.

packaged_task();

Effects:

Constructs a std::experimental::packaged_task instance with no associated task or asynchronous result.

Throws:

Nothing.

Header

#include <experimental/future>

See Also