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

Class wpi::memory::temporary_allocator and related functions. More...

#include "config.hpp"
#include "memory_stack.hpp"

Go to the source code of this file.

Classes

class  wpi::memory::detail::temporary_block_allocator
 
class  wpi::memory::detail::temporary_stack_list_node
 
class  wpi::memory::temporary_stack
 A wrapper around the memory_stack that is used by the temporary_allocator. More...
 
class  wpi::memory::temporary_stack_initializer
 Manually takes care of the lifetime of the per-thread temporary_stack. More...
 
struct  wpi::memory::temporary_stack_initializer::defer_create_t
 
class  wpi::memory::temporary_allocator
 A stateful RawAllocator that handles temporary allocations. More...
 
class  wpi::memory::allocator_traits< temporary_allocator >
 Specialization of the allocator_traits for temporary_allocator classes. More...
 

Namespaces

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

Typedefs

using wpi::memory::detail::temporary_stack_impl = memory_stack<temporary_block_allocator>
 

Functions

temporary_stackwpi::memory::get_temporary_stack (std::size_t initial_size=temporary_stack_initializer::default_stack_size)
 

Detailed Description

Class wpi::memory::temporary_allocator and related functions.