Documentation Home >> Headers >> <future> Header >> std::packaged_task >> std::packaged_task Default Constructor

Construct a std::packaged_task object.

packaged_task();

Effects:

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

Throws:

Nothing.

Header

#include <future>

See Also