Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
deluge::memory::fast_allocator< T > Class Template Reference

A simple GMA wrapper that conforms to the C++ Allocator trait spec (see: https://en.cppreference.com/w/cpp/named_req/Allocator) More...

#include <fast_allocator.h>

Public Types

using value_type = T
 

Public Member Functions

template<typename U>
constexpr fast_allocator (const fast_allocator< U > &) noexcept
 
T * allocate (std::size_t n) noexcept(false)
 
void deallocate (T *p, std::size_t n)
 
template<typename U>
bool operator== (const fast_allocator< U > &o)
 
template<typename U>
bool operator!= (const fast_allocator< U > &o)
 

Detailed Description

template<typename T>
class deluge::memory::fast_allocator< T >

A simple GMA wrapper that conforms to the C++ Allocator trait spec (see: https://en.cppreference.com/w/cpp/named_req/Allocator)

Template Parameters
TThe type to allocate for

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