YOrch 1.0.0
Loading...
Searching...
No Matches
yorch::detail::declared_task_output< Task, typename > Struct Template Reference

Detects a task's declared logical output type. More...

Detailed Description

template<typename Task, typename = void>
struct yorch::detail::declared_task_output< Task, typename >

Detects a task's declared logical output type.

This trait answers only whether the task exposes an output_type contract, meaning the task participates in an explicit output protocol instead of deriving its payload type solely from raw_result_type.

Important: a declared logical output type no longer implies that the task owns physical slot storage. For example, forward_prev tasks declare an output_type so downstream nodes can see the logical payload type, but their payload is statically forwarded from the direct parent rather than materialized into a new slot. Physical storage decisions therefore belong to separate traits such as plan/output storage mode, not to declared_task_output itself.

Template Parameters
TaskTask type being inspected.
SFINAEhook used for detection-based specialization.

Definition at line 30 of file traits.hpp.


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