LRez  v2.1
Public Member Functions | List of all members
robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs > Class Template Reference

#include <robin_hood.h>

Public Member Functions

 BulkPoolAllocator () noexcept=default
 
 BulkPoolAllocator (const BulkPoolAllocator &ROBIN_HOOD_UNUSED(o)) noexcept
 
 BulkPoolAllocator (BulkPoolAllocator &&o) noexcept
 
BulkPoolAllocatoroperator= (BulkPoolAllocator &&o) noexcept
 
BulkPoolAllocatoroperator= (const BulkPoolAllocator &ROBIN_HOOD_UNUSED(o)) noexcept
 
 ~BulkPoolAllocator () noexcept
 
void reset () noexcept
 
T * allocate ()
 
void deallocate (T *obj) noexcept
 
void addOrFree (void *ptr, const size_t numBytes) noexcept
 
void swap (BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs > &other) noexcept
 

Detailed Description

template<typename T, size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
class robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >

Definition at line 366 of file robin_hood.h.

Constructor & Destructor Documentation

◆ BulkPoolAllocator() [1/3]

template<typename T , size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >::BulkPoolAllocator ( )
defaultnoexcept

◆ BulkPoolAllocator() [2/3]

template<typename T , size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >::BulkPoolAllocator ( const BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs > &  ROBIN_HOOD_UNUSEDo)
inlinenoexcept

Definition at line 371 of file robin_hood.h.

◆ BulkPoolAllocator() [3/3]

template<typename T , size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >::BulkPoolAllocator ( BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs > &&  o)
inlinenoexcept

Definition at line 375 of file robin_hood.h.

◆ ~BulkPoolAllocator()

template<typename T , size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >::~BulkPoolAllocator ( )
inlinenoexcept

Definition at line 398 of file robin_hood.h.

Member Function Documentation

◆ addOrFree()

template<typename T , size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
void robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >::addOrFree ( void *  ptr,
const size_t  numBytes 
)
inlinenoexcept

Definition at line 438 of file robin_hood.h.

◆ allocate()

template<typename T , size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
T* robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >::allocate ( )
inline

Definition at line 416 of file robin_hood.h.

◆ deallocate()

template<typename T , size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
void robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >::deallocate ( T *  obj)
inlinenoexcept

Definition at line 430 of file robin_hood.h.

◆ operator=() [1/2]

template<typename T , size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
BulkPoolAllocator& robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >::operator= ( BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs > &&  o)
inlinenoexcept

Definition at line 382 of file robin_hood.h.

◆ operator=() [2/2]

template<typename T , size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
BulkPoolAllocator& robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >::operator= ( const BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs > &  ROBIN_HOOD_UNUSEDo)
inlinenoexcept

Definition at line 393 of file robin_hood.h.

◆ reset()

template<typename T , size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
void robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >::reset ( )
inlinenoexcept

Definition at line 403 of file robin_hood.h.

◆ swap()

template<typename T , size_t MinNumAllocs = 4, size_t MaxNumAllocs = 256>
void robin_hood::detail::BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs >::swap ( BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs > &  other)
inlinenoexcept

Definition at line 450 of file robin_hood.h.


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