YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::DefaultTrait Struct Reference

Trait used by default for all async abstractions, a separate struct so it can be forward declared. More...

#include <result.hpp>

Inheritance diagram for yaclib::DefaultTrait:
[legend]
Collaboration diagram for yaclib::DefaultTrait:
[legend]

Additional Inherited Members

- Public Types inherited from yaclib::ResultTrait
template<typename V >
using Result = yaclib::Result< V >
 
using Error = std::exception_ptr
 
template<typename R >
using Value = typename detail::InstantiationType< yaclib::Result, R >::Value
 
- Static Public Member Functions inherited from yaclib::ResultTrait
template<typename V , typename... Args>
static YACLIB_INLINE yaclib::Result< V > MakeResult (Args &&... args)
 
template<typename V >
static YACLIB_INLINE bool Ok (const yaclib::Result< V > &r) noexcept
 
template<typename R >
static YACLIB_INLINE decltype(autoGetValue (R &&r) noexcept
 
template<typename R >
static YACLIB_INLINE decltype(autoGetError (R &&r) noexcept
 
template<typename R >
static YACLIB_INLINE decltype(autoGet (R &&r)
 
static YACLIB_INLINE bool IsStop (const std::exception_ptr &error) noexcept
 

Detailed Description

Trait used by default for all async abstractions, a separate struct so it can be forward declared.

Definition at line 271 of file result.hpp.


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