YOrch 1.0.0
Loading...
Searching...
No Matches
yorch::detail::node_slot_guard< Slots, I > Struct Template Reference

#include <result.hpp>

Public Member Functions

constexpr node_slot_guard (Slots &stored_slots) noexcept
 
 node_slot_guard (const node_slot_guard &)=delete
 
node_slot_guardoperator= (const node_slot_guard &)=delete
 
 node_slot_guard (node_slot_guard &&)=delete
 
node_slot_guardoperator= (node_slot_guard &&)=delete
 
constexpr void arm () noexcept
 
 ~node_slot_guard ()
 

Public Attributes

Slotsslots
 
bool armed = false
 

Detailed Description

template<typename Slots, std::size_t I>
struct yorch::detail::node_slot_guard< Slots, I >

Definition at line 93 of file result.hpp.

Constructor & Destructor Documentation

◆ node_slot_guard() [1/3]

template<typename Slots , std::size_t I>
constexpr yorch::detail::node_slot_guard< Slots, I >::node_slot_guard ( Slots stored_slots)
inlineexplicitconstexprnoexcept

Definition at line 97 of file result.hpp.

◆ node_slot_guard() [2/3]

template<typename Slots , std::size_t I>
yorch::detail::node_slot_guard< Slots, I >::node_slot_guard ( const node_slot_guard< Slots, I > &  )
delete

◆ node_slot_guard() [3/3]

template<typename Slots , std::size_t I>
yorch::detail::node_slot_guard< Slots, I >::node_slot_guard ( node_slot_guard< Slots, I > &&  )
delete

◆ ~node_slot_guard()

template<typename Slots , std::size_t I>
yorch::detail::node_slot_guard< Slots, I >::~node_slot_guard ( )
inline

Definition at line 109 of file result.hpp.

Member Function Documentation

◆ arm()

template<typename Slots , std::size_t I>
constexpr void yorch::detail::node_slot_guard< Slots, I >::arm ( )
inlineconstexprnoexcept

Definition at line 105 of file result.hpp.

◆ operator=() [1/2]

◆ operator=() [2/2]

Member Data Documentation

◆ armed

template<typename Slots , std::size_t I>
bool yorch::detail::node_slot_guard< Slots, I >::armed = false

Definition at line 95 of file result.hpp.

◆ slots

template<typename Slots , std::size_t I>
Slots& yorch::detail::node_slot_guard< Slots, I >::slots

Definition at line 94 of file result.hpp.


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