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 (2 of 2 overloads)

Obtain a pointer to the target executor object.

    typename Executor>
const Executor * target() const;
Return Value

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