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

executor::target (1 of 2 overloads)

Obtain a pointer to the target executor object.

    typename Executor>
Executor * target();
Return Value

If target_type() == typeid(T), a pointer to the stored executor target; otherwise, a null pointer.