|
YACLib
C++ library for concurrent tasks execution
|
Trait used by default for all async abstractions, a separate struct so it can be forward declared. More...
#include <result.hpp>
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(auto) | GetValue (R &&r) noexcept |
| template<typename R > | |
| static YACLIB_INLINE decltype(auto) | GetError (R &&r) noexcept |
| template<typename R > | |
| static YACLIB_INLINE decltype(auto) | Get (R &&r) |
| static YACLIB_INLINE bool | IsStop (const std::exception_ptr &error) noexcept |
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.