fiber
Loading...
Searching...
No Matches
fiber::StackAllocatorExtern Class Reference

#include <StackAllocator.hpp>

Inheritance diagram for fiber::StackAllocatorExtern:
fiber::StackAllocator< frame_size > fiber::StackAllocator< N >

Public Types

using word = uint32_t
 

Public Member Functions

constexpr StackAllocatorExtern (word *buffer, std::size_t buffer_size)
 
constexpr bool empty () const
 
constexpr std::size_t max_size () const
 
constexpr std::size_t allocated_size () const
 
constexpr std::size_t max_allocated_size () const
 

Member Typedef Documentation

◆ word

Constructor & Destructor Documentation

◆ StackAllocatorExtern()

fiber::StackAllocatorExtern::StackAllocatorExtern ( word * buffer,
std::size_t buffer_size )
inlineconstexpr

Member Function Documentation

◆ allocated_size()

std::size_t fiber::StackAllocatorExtern::allocated_size ( ) const
inlineconstexpr

◆ empty()

bool fiber::StackAllocatorExtern::empty ( ) const
inlineconstexpr

◆ max_allocated_size()

std::size_t fiber::StackAllocatorExtern::max_allocated_size ( ) const
inlineconstexpr

◆ max_size()

std::size_t fiber::StackAllocatorExtern::max_size ( ) const
inlineconstexpr

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