YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
result.hpp File Reference
#include <yaclib/fwd.hpp>
#include <yaclib/util/type_traits.hpp>
#include <exception>
#include <utility>
#include <variant>
Include dependency graph for result.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaclib::StopError
 Default error. More...
 
class  yaclib::ResultError< Error >
 
struct  yaclib::ResultEmpty
 
class  yaclib::Result< ValueT, E >
 Encapsulated return value from caller. More...
 

Namespaces

namespace  yaclib
 

Enumerations

enum class  yaclib::ResultState : unsigned char { yaclib::Value = 0 , yaclib::Exception = 1 , yaclib::Error = 2 , yaclib::Empty = 3 }