Flutter Engine
The Flutter Engine
Classes | Macros
SkCallableTraits.h File Reference
#include <type_traits>
#include <tuple>

Go to the source code of this file.

Classes

struct  sk_base_callable_traits< R, Args >
 
struct  sk_base_callable_traits< R, Args >::argument< N >
 
struct  SkCallableTraits< T >
 
struct  SkCallableTraits< R T::* >
 

Macros

#define SK_CALLABLE_TRAITS__COMMA   ,
 
#define SK_CALLABLE_TRAITS__VARARGS(quals, _)
 
#define SK_CALLABLE_TRAITS__NE_VARARGS(quals, _)   SK_CALLABLE_TRAITS__VARARGS(quals,)
 
#define SK_CALLABLE_TRAITS__REF_NE_VARARGS(quals, _)
 
#define SK_CALLABLE_TRAITS__CV_REF_NE_VARARGS()
 
#define SK_CALLABLE_TRAITS__INSTANCE(quals, varargs)
 
#define SK_CALLABLE_TRAITS__INSTANCE(quals, varargs)
 
#define SK_CALLABLE_TRAITS__INSTANCE(quals, varargs)
 

Macro Definition Documentation

◆ SK_CALLABLE_TRAITS__COMMA

#define SK_CALLABLE_TRAITS__COMMA   ,

Definition at line 23 of file SkCallableTraits.h.

◆ SK_CALLABLE_TRAITS__CV_REF_NE_VARARGS

#define SK_CALLABLE_TRAITS__CV_REF_NE_VARARGS ( )
Value:
SK_CALLABLE_TRAITS__REF_NE_VARARGS(const,) \
SK_CALLABLE_TRAITS__REF_NE_VARARGS(volatile,) \
SK_CALLABLE_TRAITS__REF_NE_VARARGS(const volatile,)
#define SK_CALLABLE_TRAITS__REF_NE_VARARGS(quals, _)

Definition at line 43 of file SkCallableTraits.h.

◆ SK_CALLABLE_TRAITS__INSTANCE [1/3]

#define SK_CALLABLE_TRAITS__INSTANCE (   quals,
  varargs 
)
Value:
template <typename R, typename... Args> \
struct SkCallableTraits<R(Args... varargs) quals> : sk_base_callable_traits<R, Args...> {};
#define R(r)

Definition at line 69 of file SkCallableTraits.h.

◆ SK_CALLABLE_TRAITS__INSTANCE [2/3]

#define SK_CALLABLE_TRAITS__INSTANCE (   quals,
  varargs 
)
Value:
template <typename R, typename... Args> \
struct SkCallableTraits<R(*)(Args... varargs) quals> : sk_base_callable_traits<R, Args...> {};

Definition at line 69 of file SkCallableTraits.h.

◆ SK_CALLABLE_TRAITS__INSTANCE [3/3]

#define SK_CALLABLE_TRAITS__INSTANCE (   quals,
  varargs 
)
Value:
template <typename T, typename R, typename... Args> \
struct SkCallableTraits<R(T::*)(Args... varargs) quals> : sk_base_callable_traits<R, Args...> {};
#define T
Definition: precompiler.cc:65

Definition at line 69 of file SkCallableTraits.h.

◆ SK_CALLABLE_TRAITS__NE_VARARGS

#define SK_CALLABLE_TRAITS__NE_VARARGS (   quals,
 
)    SK_CALLABLE_TRAITS__VARARGS(quals,)

Definition at line 34 of file SkCallableTraits.h.

◆ SK_CALLABLE_TRAITS__REF_NE_VARARGS

#define SK_CALLABLE_TRAITS__REF_NE_VARARGS (   quals,
 
)
Value:
SK_CALLABLE_TRAITS__NE_VARARGS(quals &,) \
SK_CALLABLE_TRAITS__NE_VARARGS(quals &&,)
#define SK_CALLABLE_TRAITS__NE_VARARGS(quals, _)

Definition at line 38 of file SkCallableTraits.h.

◆ SK_CALLABLE_TRAITS__VARARGS

#define SK_CALLABLE_TRAITS__VARARGS (   quals,
 
)
Value:
SK_CALLABLE_TRAITS__INSTANCE(quals, SK_CALLABLE_TRAITS__COMMA ...)
#define SK_CALLABLE_TRAITS__COMMA
#define SK_CALLABLE_TRAITS__INSTANCE(quals, varargs)

Definition at line 25 of file SkCallableTraits.h.