Construct a std::packaged_task object.
packaged_task();
- Effects:
Constructs a
std::packaged_taskinstance with no associated task or asynchronous result.- Throws:
Nothing.
Header
#include <future>
Construct a std::packaged_task object.
packaged_task();
Constructs a std::packaged_task instance with
no associated task or asynchronous result.
Nothing.
#include <future>