![]() |
Home | Libraries | People | FAQ | More |
Conditionally invoke the stored completion handler.
bool maybe_invoke();
Invokes the stored completion handler if this->has_value()
== true, otherwise does nothing. Any dynamic memory used is deallocated
before the stored completion handler is invoked. The executor work guard
is also reset before the invocation.
true
if the invocation took
place.