Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards



Get the executor associated with the object.

executor_type get_executor();

This function may be used to obtain the executor object that the stream uses to dispatch handlers for asynchronous operations.

Return Value

A copy of the executor that stream will use to dispatch handlers.