WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
memory_stack.hpp File Reference

Class wpi::memory::memory_stack and its wpi::memory::allocator_traits specialization. More...

#include <cstdint>
#include <type_traits>
#include "detail/assert.hpp"
#include "detail/memory_stack.hpp"
#include "config.hpp"
#include "error.hpp"
#include "memory_arena.hpp"

Go to the source code of this file.

Classes

class  wpi::memory::detail::stack_marker
 
struct  wpi::memory::detail::memory_stack_leak_handler
 
class  wpi::memory::memory_stack< BlockOrRawAllocator >
 A stateful RawAllocator that provides stack-like (LIFO) allocations. More...
 
class  wpi::memory::memory_stack_raii_unwind< Stack >
 Simple utility that automatically unwinds a Stack to a previously saved location. More...
 
class  wpi::memory::allocator_traits< memory_stack< BlockAllocator > >
 Specialization of the allocator_traits for memory_stack classes. More...
 
class  wpi::memory::composable_allocator_traits< memory_stack< BlockAllocator > >
 Specialization of the composable_allocator_traits for memory_stack classes. More...
 

Namespaces

namespace  wpi
 Foonathan namespace.
 
namespace  wpi::memory
 Memory namespace.
 
namespace  wpi::memory::detail
 

Macros

#define WPI_MEMORY_MEMORY_STACK_HAS_MIN_BLOCK_SIZE
 

Detailed Description

Macro Definition Documentation

◆ WPI_MEMORY_MEMORY_STACK_HAS_MIN_BLOCK_SIZE

#define WPI_MEMORY_MEMORY_STACK_HAS_MIN_BLOCK_SIZE