Loading [MathJax]/extensions/tex2jax.js
WPILibC++ 2025.3.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
wpi::memory::static_allocator_storage< Size > Struct Template Reference

Storage for a static_allocator. More...

#include <wpi/memory/static_allocator.hpp>

Public Attributes

char storage [Size]
 

Detailed Description

template<std::size_t Size>
struct wpi::memory::static_allocator_storage< Size >

Storage for a static_allocator.

Its constructor will take a reference to it and use it for its allocation. The storage type is simply a char array aligned for maximum alignment.

Note
It is not allowed to access the memory of the storage.

Member Data Documentation

◆ storage

template<std::size_t Size>
char wpi::memory::static_allocator_storage< Size >::storage[Size]

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