...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Obtain type information for the target executor object.
const std::type_info & target_type() const;
If *this
has a target type of type T
, typeid(T)
;
otherwise, typeid(void)
.