Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QtPrivate::ZeroArgFunctor< Func > Struct Template Reference

#include <qobjectdefs_impl.h>

+ Inheritance diagram for QtPrivate::ZeroArgFunctor< Func >:
+ Collaboration diagram for QtPrivate::ZeroArgFunctor< Func >:

Public Types

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

Additional Inherited Members

- Static Public Member Functions inherited from QtPrivate::Functor< Func, 0 >
static void call (Func &f, void *, void **arg)
 

Detailed Description

template<typename Func>
struct QtPrivate::ZeroArgFunctor< Func >

Definition at line 342 of file qobjectdefs_impl.h.

Member Typedef Documentation

◆ Arguments

template<typename Func >
using QtPrivate::ZeroArgFunctor< Func >::Arguments = QtPrivate::List<>

Definition at line 347 of file qobjectdefs_impl.h.

◆ Function

template<typename Func >
using QtPrivate::ZeroArgFunctor< Func >::Function = ReturnType(*)()

Definition at line 345 of file qobjectdefs_impl.h.

◆ ReturnType

template<typename Func >
using QtPrivate::ZeroArgFunctor< Func >::ReturnType = decltype(std::declval<Func>()())

Definition at line 344 of file qobjectdefs_impl.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Func >
anonymous enum
Enumerator
ArgumentCount 

Definition at line 346 of file qobjectdefs_impl.h.


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