std::indirect_result_t
From cppreference.com
Defined in header <iterator>
|
||
template< class F, class... Is > requires (std::indirectly_readable<Is> && ...) && |
(since C++20) | |
The alias template indirect_result_t
obtains the result type of invoking an invocable
type F
on the result of dereferencing indirectly_readable
types Is...
.
Template parameters
F | - | an invocable type |
Is | - | indirectly readable types that are dereferenced to arguments |
See also
(C++11)(removed in C++20)(C++17) |
deduces the result type of invoking a callable object with a set of arguments (class template) |