YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::fiber::Stack Class Referencefinal

Manages stack memory. More...

#include <stack.hpp>

Public Member Functions

 Stack (IStackAllocator &allocator)
 
 Stack (Stack &&that) noexcept=default
 
Stackoperator= (Stack &&other) noexcept
 
AllocationGetAllocation () noexcept
 
IStackAllocatorGetAllocator () const noexcept
 
 ~Stack ()
 

Detailed Description

Manages stack memory.

Definition at line 12 of file stack.hpp.

Constructor & Destructor Documentation

◆ Stack() [1/2]

yaclib::detail::fiber::Stack::Stack ( IStackAllocator allocator)
inlineexplicit

Definition at line 14 of file stack.hpp.

◆ Stack() [2/2]

yaclib::detail::fiber::Stack::Stack ( Stack &&  that)
defaultnoexcept

◆ ~Stack()

yaclib::detail::fiber::Stack::~Stack ( )
inline

Definition at line 37 of file stack.hpp.

References yaclib::detail::fiber::IStackAllocator::Release().

Member Function Documentation

◆ GetAllocation()

Allocation & yaclib::detail::fiber::Stack::GetAllocation ( )
inlinenoexcept

Definition at line 29 of file stack.hpp.

Referenced by yaclib::detail::fiber::Fiber< Args >::Fiber(), and operator=().

◆ GetAllocator()

IStackAllocator & yaclib::detail::fiber::Stack::GetAllocator ( ) const
inlinenoexcept

Definition at line 33 of file stack.hpp.

◆ operator=()

Stack & yaclib::detail::fiber::Stack::operator= ( Stack &&  other)
inlinenoexcept

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