#include <qobjectdefs_impl.h>
|
enum | { Ok = sizeof(test(std::declval<Functor>())) == sizeof(int)
, Value = Ok ? int(sizeof...(ArgList)) : int(ComputeFunctorArgumentCountHelper<Functor, List<ArgList...>, Ok>::Value)
} |
|
|
template<typename F > |
static auto | test (F f) -> decltype(((f.operator()((std::declval< ArgList >())...)), int())) |
|
static char | test (...) |
|
template<typename
Functor, typename... ArgList>
struct QtPrivate::ComputeFunctorArgumentCount< Functor, List< ArgList... > >
Definition at line 337 of file qobjectdefs_impl.h.
◆ anonymous enum
template<typename
Functor , typename... ArgList>
◆ test() [1/2]
template<typename
Functor , typename... ArgList>
◆ test() [2/2]
template<typename
Functor , typename... ArgList>
template<typename F >
The documentation for this struct was generated from the following file: