LeechCraft  0.6.70-9312-g4cc613a2df
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LeechCraft::Util::InstanceFunctor< QFuture< T > > Struct Template Reference

#include "monadicfuture.h"

Public Types

template<typename F >
using FmapResult_t = QFuture< std::decay_t< std::result_of_t< F(T)>>>
 

Static Public Member Functions

template<typename F >
static FmapResult_t< F > Apply (const QFuture< T > &t, const F &f)
 

Detailed Description

template<typename T>
struct LeechCraft::Util::InstanceFunctor< QFuture< T > >

Definition at line 42 of file monadicfuture.h.

Member Typedef Documentation

template<typename T >
template<typename F >
using LeechCraft::Util::InstanceFunctor< QFuture< T > >::FmapResult_t = QFuture<std::decay_t<std::result_of_t<F (T)>>>

Definition at line 45 of file monadicfuture.h.

Member Function Documentation

template<typename T >
template<typename F >
static FmapResult_t<F> LeechCraft::Util::InstanceFunctor< QFuture< T > >::Apply ( const QFuture< T > &  t,
const F &  f 
)
inlinestatic

Definition at line 48 of file monadicfuture.h.

References LeechCraft::Util::MakeReadyFuture(), and LeechCraft::Util::Sequence().

+ Here is the call graph for this function:


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