This class describes an exception thrown when there are tasks still scheduled to a
structured_task_group object at the time that object's destructor executes. This exception will never be thrown if the destructor is reached because of a stack unwinding as the result of an exception.
class missing_wait : public std::exception;
|missing_wait||Overloaded. Constructs a
Absent exception flow, you are responsible for calling either the
run_and_wait method of a
structured_task_group object before allowing that object to destruct. The runtime throws this exception as an indication that you forgot to call the
explicit _CRTIMP missing_wait(_In_z_ const char* _Message) throw(); missing_wait() throw();
A descriptive message of the error.