Lely core libraries  2.2.5
lely::compat::invoke_result< F, Args > Struct Template Reference

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

#include <type_traits.hpp>

Inheritance diagram for lely::compat::invoke_result< F, Args >:
Collaboration diagram for lely::compat::invoke_result< F, Args >:

Detailed Description

template<class F, class... Args>
struct lely::compat::invoke_result< F, Args >

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

If the expression INVOKE(declval<F>(), declval<Args>()...) is well-formed when treated as an unevaluated operand, the member typedef type names the type decltype(INVOKE(declval<F>(), declval<Args>()...)); otherwise, there shall be no member type.

Definition at line 166 of file type_traits.hpp.


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