memory
Typedefs | Classes | Functions
temporary_allocator.hpp File Reference

Detailed Description

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

Typedefs

using temporary_stack_impl = memory_stack< temporary_block_allocator >
 

Classes

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

Functions

temporary_stack & get_temporary_stack (std::size_t initial_size=temporary_stack_initializer::default_stack_size)