|
YOrch 1.0.0
|
Lightweight borrowed view over a direct parent output slot. More...
#include <context.hpp>
Public Types | |
| using | stored_type = std::remove_reference_t< T > |
| using | type = std::remove_cv_t< stored_type > |
Public Member Functions | |
| template<typename U > | |
| constexpr stored_type & | get () const noexcept |
Static Public Member Functions | |
| template<typename U > | |
| static constexpr bool | contains () noexcept |
Public Attributes | |
| stored_type & | ref |
| Borrowed reference to the direct parent payload. | |
Lightweight borrowed view over a direct parent output slot.
The view carries exactly one payload object and exposes a type-based API so resolve_as(borrow_prev_t<...>, ...) can stay structurally similar to from_ctx(...).
| T | Stored payload type. Constness is preserved; references are not. |
Definition at line 59 of file context.hpp.
| using yorch::prev_slot_view< T >::stored_type = std::remove_reference_t<T> |
Definition at line 60 of file context.hpp.
| using yorch::prev_slot_view< T >::type = std::remove_cv_t<stored_type> |
Definition at line 61 of file context.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 71 of file context.hpp.
|
inlineconstexprnoexcept |
Definition at line 76 of file context.hpp.
| stored_type& yorch::prev_slot_view< T >::ref |
Borrowed reference to the direct parent payload.
Definition at line 68 of file context.hpp.