WPILibC++ 2025.3.2
Loading...
Searching...
No Matches
wpi::memory::detail::memory_arena_cache< uncached_arena > Class Reference

#include <wpi/memory/memory_arena.hpp>

Protected Member Functions

bool cache_empty () const noexcept
 
std::size_t cache_size () const noexcept
 
std::size_t cached_block_size () const noexcept
 
bool take_from_cache (detail::memory_block_stack &) noexcept
 
template<class BlockAllocator >
void do_deallocate_block (BlockAllocator &alloc, detail::memory_block_stack &used) noexcept
 
template<class BlockAllocator >
void do_shrink_to_fit (BlockAllocator &) noexcept
 

Member Function Documentation

◆ cache_empty()

bool wpi::memory::detail::memory_arena_cache< uncached_arena >::cache_empty ( ) const
inlineprotectednoexcept

◆ cache_size()

std::size_t wpi::memory::detail::memory_arena_cache< uncached_arena >::cache_size ( ) const
inlineprotectednoexcept

◆ cached_block_size()

std::size_t wpi::memory::detail::memory_arena_cache< uncached_arena >::cached_block_size ( ) const
inlineprotectednoexcept

◆ do_deallocate_block()

template<class BlockAllocator >
void wpi::memory::detail::memory_arena_cache< uncached_arena >::do_deallocate_block ( BlockAllocator & alloc,
detail::memory_block_stack & used )
inlineprotectednoexcept

◆ do_shrink_to_fit()

template<class BlockAllocator >
void wpi::memory::detail::memory_arena_cache< uncached_arena >::do_shrink_to_fit ( BlockAllocator & )
inlineprotectednoexcept

◆ take_from_cache()

bool wpi::memory::detail::memory_arena_cache< uncached_arena >::take_from_cache ( detail::memory_block_stack & )
inlineprotectednoexcept

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