LeechCraft 0.6.70-17335-ge406ffdcaf
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::InstanceFunctor< QFuture< T > > Struct Template Reference

#include "monadicfuture.h"

Inheritance diagram for LC::Util::InstanceFunctor< QFuture< T > >:
Collaboration diagram for LC::Util::InstanceFunctor< QFuture< T > >:

Public Types

template<typename F>
using FmapResult_t = QFuture<std::decay_t<std::invoke_result_t<F, T>>>
using UndefinedTag

Static Public Member Functions

template<typename F>
static FmapResult_t< F > Apply (const QFuture< T > &fut, const F &func)

Detailed Description

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

Definition at line 18 of file monadicfuture.h.

Member Typedef Documentation

◆ FmapResult_t

template<typename T>
template<typename F>
using LC::Util::InstanceFunctor< QFuture< T > >::FmapResult_t = QFuture<std::decay_t<std::invoke_result_t<F, T>>>

Definition at line 21 of file monadicfuture.h.

◆ UndefinedTag

using LC::Util::InstanceFunctor< T >::UndefinedTag

Definition at line 37 of file functor.h.

Member Function Documentation

◆ Apply()

template<typename T>
template<typename F>
FmapResult_t< F > LC::Util::InstanceFunctor< QFuture< T > >::Apply ( const QFuture< T > & fut,
const F & func )
inlinestatic

Definition at line 24 of file monadicfuture.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17335.ge406ffdcaf-build/leechcraft-0.6.70-17335-ge406ffdcaf/src/util/threads/monadicfuture.h