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::ArgsType< Arg, Args... > Struct Template Reference

#include <qfuture_impl.h>

+ Collaboration diagram for QtPrivate::ArgsType< Arg, Args... >:

Public Types

using First = Arg
 
using PromiseType = void
 
using IsPromise = std::false_type
 
using AllArgs = FilterLastPrivateSignalArg<std::decay_t<Arg>, std::decay_t<Args>...>
 

Static Public Attributes

static const bool HasExtraArgs = (sizeof...(Args) > 0)
 
template<class Class , class Callable >
static const bool CanInvokeWithArgs = std::is_invocable_v<Callable, Class, Arg, Args...>
 

Detailed Description

template<typename Arg, typename... Args>
struct QtPrivate::ArgsType< Arg, Args... >

Definition at line 140 of file qfuture_impl.h.

Member Typedef Documentation

◆ AllArgs

template<typename Arg , typename... Args>
using QtPrivate::ArgsType< Arg, Args... >::AllArgs = FilterLastPrivateSignalArg<std::decay_t<Arg>, std::decay_t<Args>...>

Definition at line 146 of file qfuture_impl.h.

◆ First

template<typename Arg , typename... Args>
using QtPrivate::ArgsType< Arg, Args... >::First = Arg

Definition at line 142 of file qfuture_impl.h.

◆ IsPromise

template<typename Arg , typename... Args>
using QtPrivate::ArgsType< Arg, Args... >::IsPromise = std::false_type

Definition at line 144 of file qfuture_impl.h.

◆ PromiseType

template<typename Arg , typename... Args>
using QtPrivate::ArgsType< Arg, Args... >::PromiseType = void

Definition at line 143 of file qfuture_impl.h.

Member Data Documentation

◆ CanInvokeWithArgs

template<typename Arg , typename... Args>
template<class Class , class Callable >
const bool QtPrivate::ArgsType< Arg, Args... >::CanInvokeWithArgs = std::is_invocable_v<Callable, Class, Arg, Args...>
static

Definition at line 149 of file qfuture_impl.h.

◆ HasExtraArgs

template<typename Arg , typename... Args>
const bool QtPrivate::ArgsType< Arg, Args... >::HasExtraArgs = (sizeof...(Args) > 0)
static

Definition at line 145 of file qfuture_impl.h.


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