proxygen
folly::detail::free_invoke_proxy< Invoke > Struct Template Reference

#include <Invoke.h>

Classes

struct  invoke_result
 
struct  is_invocable
 
struct  is_invocable_r
 
struct  is_nothrow_invocable
 
struct  is_nothrow_invocable_r
 

Public Types

template<typename... Args>
using invoke_result_t = folly::invoke_result_t< Invoke, Args... >
 
using invoke_type = Invoke
 

Public Member Functions

 static_cast (args)...))
 

Static Public Member Functions

template<typename... Args>
static constexpr auto invoke (Args &&...args) noexcept(noexcept(Invoke{}(static_cast< Args && >(args)...))) -> decltype(Invoke
 

Detailed Description

template<typename Invoke>
struct folly::detail::free_invoke_proxy< Invoke >

Definition at line 172 of file Invoke.h.

Member Typedef Documentation

template<typename Invoke >
template<typename... Args>
using folly::detail::free_invoke_proxy< Invoke >::invoke_result_t = folly::invoke_result_t<Invoke, Args...>

Definition at line 177 of file Invoke.h.

template<typename Invoke >
using folly::detail::free_invoke_proxy< Invoke >::invoke_type = Invoke

Definition at line 195 of file Invoke.h.

Member Function Documentation

template<typename Invoke >
template<typename... Args>
static constexpr auto folly::detail::free_invoke_proxy< Invoke >::invoke ( Args &&...  args) -> decltype(Invoke
inlinestaticnoexcept

Definition at line 189 of file Invoke.h.

References testing::Args().

190  {}(static_cast<Args&&>(args)...)))
191  -> decltype(Invoke{}(static_cast<Args&&>(args)...)) {
internal::ArgsMatcher< InnerMatcher > Args(const InnerMatcher &matcher)
PolymorphicAction< internal::InvokeAction< FunctionImpl > > Invoke(FunctionImpl function_impl)
template<typename Invoke >
folly::detail::free_invoke_proxy< Invoke >::static_cast ( args  )
inline

Definition at line 191 of file Invoke.h.

References testing::Args(), and testing::Invoke().

191  {}(static_cast<Args&&>(args)...)) {
192  return Invoke{}(static_cast<Args&&>(args)...);
193  }
internal::ArgsMatcher< InnerMatcher > Args(const InnerMatcher &matcher)
PolymorphicAction< internal::InvokeAction< FunctionImpl > > Invoke(FunctionImpl function_impl)

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