WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
wpi::memory::double_frame_allocator< BlockOrRawAllocator > Class Template Reference

An alias for iteration_allocator for two iterations. More...

#include <wpi/memory/iteration_allocator.hpp>

Inheritance diagram for wpi::memory::double_frame_allocator< BlockOrRawAllocator >:
wpi::memory::iteration_allocator< 2, default_allocator >

Additional Inherited Members

- Public Types inherited from wpi::memory::iteration_allocator< 2, default_allocator >
using allocator_type
 
- Public Member Functions inherited from wpi::memory::iteration_allocator< 2, default_allocator >
 iteration_allocator (std::size_t block_size, Args &&... args)
 
 iteration_allocator (iteration_allocator &&other) noexcept
 
 ~iteration_allocator () noexcept
 
iteration_allocatoroperator= (iteration_allocator &&other) noexcept
 
void * allocate (std::size_t size, std::size_t alignment)
 
void * try_allocate (std::size_t size, std::size_t alignment) noexcept
 
void next_iteration () noexcept
 
std::size_t cur_iteration () const noexcept
 
allocator_typeget_allocator () noexcept
 
std::size_t capacity_left (std::size_t i) const noexcept
 
std::size_t capacity_left () const noexcept
 
- Static Public Member Functions inherited from wpi::memory::iteration_allocator< 2, default_allocator >
static std::size_t max_iterations () noexcept
 

Detailed Description

template<class BlockOrRawAllocator = default_allocator>
class wpi::memory::double_frame_allocator< BlockOrRawAllocator >

An alias for iteration_allocator for two iterations.


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