YOrch 1.0.0
Loading...
Searching...
No Matches
result.hpp File Reference
#include <type_traits>
#include <utility>
#include "assert.hpp"
#include "detail/storage/maybe_storage.hpp"
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  yorch::step_result
 Represents the basic outcome of a task step. More...
 
struct  yorch::task_result< T >
 Represents a step result that may carry a produced value. More...
 
struct  yorch::is_task_result< T >
 Type trait that detects task_result<T>. More...
 
struct  yorch::is_task_result< task_result< T > >
 
struct  yorch::task_result_value< task_result< T > >
 

Namespaces

namespace  yorch
 

Typedefs

template<typename T >
using yorch::task_result_value_t = typename task_result_value< std::remove_cvref_t< T > >::type
 

Enumerations

enum class  yorch::step_status : unsigned char {
  yorch::success , yorch::failure , yorch::retry , yorch::abort_branch ,
  yorch::abort_execution
}
 Describes the execution status of a single step. More...
 

Variables

template<typename T >
constexpr bool yorch::is_task_result_v