std::function::target_type
From cppreference.com
< cpp | utility | functional | function
| const std::type_info& target_type() const; |
(since C++11) | |
Returns the type of the stored function.
Contents |
Parameters
(none)
Return value
typeid(T) if the stored function has type T, otherwise typeid(void)
Exceptions
Example
| This section is incomplete Reason: no example |
See also
| target_type |
obtains the typeid of the stored target of a std::function (public member function) |