|
FastLED 3.9.15
|
Definition at line 420 of file allocator.h.
#include <allocator.h>
Inheritance diagram for fl::allocator_slab< T, SLAB_SIZE >:Classes | |
| struct | rebind |
Public Types | |
| using | const_pointer = const T* |
| using | const_reference = const T& |
| using | difference_type = ptrdiff_t |
| using | pointer = T* |
| using | reference = T& |
| using | size_type = fl::size |
| using | value_type = T |
Public Member Functions | |
| allocator_slab () noexcept | |
| allocator_slab (const allocator_slab &other) noexcept | |
| template<typename U> | |
| allocator_slab (const allocator_slab< U, SLAB_SIZE > &other) noexcept | |
| ~allocator_slab () noexcept | |
| T * | allocate (fl::size n) |
| void | cleanup () |
| template<typename U, typename... Args> | |
| void | construct (U *p, Args &&... args) |
| void | deallocate (T *p, fl::size n) |
| template<typename U> | |
| void | destroy (U *p) |
| bool | operator!= (const allocator_slab &other) const noexcept |
| allocator_slab & | operator= (const allocator_slab &other) noexcept |
| bool | operator== (const allocator_slab &other) const noexcept |
Static Private Member Functions | |
| static SlabAllocator< T, SLAB_SIZE > & | get_allocator () |