YOrch 1.0.0
Loading...
Searching...
No Matches
result.hpp File Reference
#include <cstddef>
#include <type_traits>
#include <utility>
#include "../../assert.hpp"
#include "../../result.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::detail::node_slot_guard< Slots, I >
 

Namespaces

namespace  yorch
 
namespace  yorch::detail
 

Functions

template<typename R >
constexpr step_result yorch::detail::normalize_task_result (R &&r)
 Normalizes a raw task return into scheduler-facing step_result.
 
template<typename R >
constexpr step_result yorch::detail::extract_step_result (R &&r)
 
template<std::size_t I, typename Slots , typename Raw >
constexpr bool yorch::detail::store_node_output (Slots &slots, Raw &raw)
 Materializes the payload portion of a node's raw task return into the node's compiled slot, when that return category actually carries a value.
 
template<std::size_t I, typename Slots >
constexpr step_result yorch::detail::finalize_direct_output_step (Slots &slots, step_result step)