libkazv
Kazv::AbstractPromise< DeriveT, T > Class Template Reference

#include <promise-interface.hpp>

Inheritance diagram for Kazv::AbstractPromise< DeriveT, T >:
Collaboration diagram for Kazv::AbstractPromise< DeriveT, T >:

Public Types

using DataT = T
 

Public Member Functions

 AbstractPromise (DeriveT< T > *obj)
 
template<class FuncT >
auto then (FuncT &&func) -> DeriveT< PromiseThenResult< FuncT, DataT >>
 

Member Typedef Documentation

◆ DataT

template<template< class > class DeriveT, class T >
using Kazv::AbstractPromise< DeriveT, T >::DataT = T

Constructor & Destructor Documentation

◆ AbstractPromise()

template<template< class > class DeriveT, class T >
Kazv::AbstractPromise< DeriveT, T >::AbstractPromise ( DeriveT< T > *  obj)
inline

Member Function Documentation

◆ then()

template<template< class > class DeriveT, class T >
template<class FuncT >
auto Kazv::AbstractPromise< DeriveT, T >::then ( FuncT &&  func) -> DeriveT<PromiseThenResult<FuncT, DataT>>
inline

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