std::function<R(Args...)>::target_type (3) - Linux Manuals
std::function<R(Args...)>::target_type: std::function<R(Args...)>::target_type
NAME
std::function<R(Args...)>::target_type - std::function<R(Args...)>::target_type
Synopsis
const std::type_info& target_type() const noexcept; (since C++11)
Returns the type of the stored function.
Parameters
(none)
Return value
typeid(T) if the stored function has type T, otherwise typeid(void)
Example
// Run this code
Possible output:
See also
target (public member function)