Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtPrivate::FunctorCallable< Func, Args > Struct Template Reference

#include <qobjectdefs_impl.h>

+ Collaboration diagram for QtPrivate::FunctorCallable< Func, Args >:

Public Types

enum  { ArgumentCount = sizeof...(Args) }
 
using ReturnType = decltype(std::declval<Func>()(std::declval<Args>()...))
 
using Function = ReturnType(*)(Args...)
 
using Arguments = QtPrivate::List<Args...>
 

Static Public Member Functions

template<typename SignalArgs , typename R >
static void call (Func &f, void *, void **arg)
 

Detailed Description

template<typename Func, typename... Args>
struct QtPrivate::FunctorCallable< Func, Args >

Definition at line 354 of file qobjectdefs_impl.h.

Member Typedef Documentation

◆ Arguments

template<typename Func , typename... Args>
using QtPrivate::FunctorCallable< Func, Args >::Arguments = QtPrivate::List<Args...>

Definition at line 359 of file qobjectdefs_impl.h.

◆ Function

template<typename Func , typename... Args>
using QtPrivate::FunctorCallable< Func, Args >::Function = ReturnType(*)(Args...)

Definition at line 357 of file qobjectdefs_impl.h.

◆ ReturnType

template<typename Func , typename... Args>
using QtPrivate::FunctorCallable< Func, Args >::ReturnType = decltype(std::declval<Func>()(std::declval<Args>()...))

Definition at line 356 of file qobjectdefs_impl.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Func , typename... Args>
anonymous enum
Enumerator
ArgumentCount 

Definition at line 358 of file qobjectdefs_impl.h.

Member Function Documentation

◆ call()

template<typename Func , typename... Args>
template<typename SignalArgs , typename R >
static void QtPrivate::FunctorCallable< Func, Args >::call ( Func & f,
void * ,
void ** arg )
inlinestatic

Definition at line 362 of file qobjectdefs_impl.h.

References arg, and R.


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