Beast Logo

PrevUpHomeNext

handler_ptr::invoke

Invoke the handler in the owned object.

template<
    class... Args>
void
invoke(
    Args&&... args);

This function invokes the handler in the owned object with a forwarded argument list. Before the invocation, the owned object is destroyed, satisfying the deallocation-before-invocation Asio guarantee. All instances of handler_ptr which refer to the same owned object will be reset, including this instance.


PrevUpHomeNext