Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
deluge::memory::external_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 <external_allocator.h>

Public Types

using value_type = T
 

Public Member Functions

template<typename U>
constexpr external_allocator (const external_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 deluge::memory::external_allocator< U > &o)
 
template<typename U>
bool operator!= (const deluge::memory::external_allocator< U > &o)
 

Detailed Description

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

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

Note
"external" on the Deluge refers to the specially reserved non-stealable 8MiB region of SDRAM
Template Parameters
TThe type to allocate for

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