WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
wpi::memory::detail::lowlevel_allocator< Functor > Class Template Reference

#include <wpi/memory/detail/lowlevel_allocator.hpp>

Inheritance diagram for wpi::memory::detail::lowlevel_allocator< Functor >:
wpi::memory::detail::no_leak_checker< Handler >

Public Types

using is_stateful = std::false_type
 

Public Member Functions

 lowlevel_allocator () noexcept
 
 lowlevel_allocator (lowlevel_allocator &&) noexcept
 
 ~lowlevel_allocator () noexcept
 
lowlevel_allocatoroperator= (lowlevel_allocator &&) noexcept
 
void * allocate_node (std::size_t size, std::size_t alignment)
 
void deallocate_node (void *node, std::size_t size, std::size_t alignment) noexcept
 
std::size_t max_node_size () const noexcept
 

Member Typedef Documentation

◆ is_stateful

template<class Functor >
using wpi::memory::detail::lowlevel_allocator< Functor >::is_stateful = std::false_type

Constructor & Destructor Documentation

◆ lowlevel_allocator() [1/2]

template<class Functor >
wpi::memory::detail::lowlevel_allocator< Functor >::lowlevel_allocator ( )
inlinenoexcept

◆ lowlevel_allocator() [2/2]

template<class Functor >
wpi::memory::detail::lowlevel_allocator< Functor >::lowlevel_allocator ( lowlevel_allocator< Functor > && )
inlinenoexcept

◆ ~lowlevel_allocator()

template<class Functor >
wpi::memory::detail::lowlevel_allocator< Functor >::~lowlevel_allocator ( )
inlinenoexcept

Member Function Documentation

◆ allocate_node()

template<class Functor >
void * wpi::memory::detail::lowlevel_allocator< Functor >::allocate_node ( std::size_t size,
std::size_t alignment )
inline

◆ deallocate_node()

template<class Functor >
void wpi::memory::detail::lowlevel_allocator< Functor >::deallocate_node ( void * node,
std::size_t size,
std::size_t alignment )
inlinenoexcept

◆ max_node_size()

template<class Functor >
std::size_t wpi::memory::detail::lowlevel_allocator< Functor >::max_node_size ( ) const
inlinenoexcept

◆ operator=()

template<class Functor >
lowlevel_allocator & wpi::memory::detail::lowlevel_allocator< Functor >::operator= ( lowlevel_allocator< Functor > && )
inlinenoexcept

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