tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
invoke_result< F, ArgTypes > Struct Template Reference

Deduces the return type of an INVOKE expression at compile time. More...

#include <invoke_result.hpp>

Inheritance diagram for invoke_result< F, ArgTypes >:

Related Symbols

(Note that these are not member symbols.)

template<typename F, typename... ArgTypes>
using invoke_result_t = typename invoke_result<F, ArgTypes...>::type
 

Detailed Description

template<typename F, typename... ArgTypes>
struct etl::invoke_result< F, ArgTypes >

Deduces the return type of an INVOKE expression at compile time.

F and all types in ArgTypes can be any complete type, array of unknown bound, or (possibly cv-qualified) void. The behavior of a program that adds specializations for any of the templates described on this page is undefined. This implementation is copied from cppreference.com.

https://en.cppreference.com/w/cpp/types/result_of


The documentation for this struct was generated from the following file: