|
FastLED 3.9.15
|
Definition at line 270 of file allocator.h.
#include <allocator.h>
Inheritance diagram for fl::allocator_realloc< T >:Classes | |
| struct | rebind |
Public Types | |
| using | const_pointer = const T* |
| using | const_reference = const T& |
| using | difference_type = fl::ptrdiff_t |
| using | pointer = T* |
| using | reference = T& |
| using | size_type = fl::size |
| using | value_type = T |
Public Member Functions | |
| allocator_realloc () FL_NOEXCEPT | |
| template<typename U> | |
| allocator_realloc (const allocator_realloc< U > &) FL_NOEXCEPT | |
| ~allocator_realloc () FL_NOEXCEPT | |
| T * | allocate (fl::size n) FL_NOEXCEPT |
| allocation_result< pointer, size_type > | allocate_at_least (fl::size n) FL_NOEXCEPT |
| template<typename U, typename... Args> | |
| void | construct (U *p, Args &&... args) FL_NOEXCEPT |
| void | deallocate (T *p, fl::size n) FL_NOEXCEPT |
| template<typename U> | |
| void | destroy (U *p) FL_NOEXCEPT |
| pointer | reallocate (pointer ptr, fl::size old_count, fl::size new_count) FL_NOEXCEPT |
Private Member Functions | |
| FL_STATIC_ASSERT (fl::is_trivially_copyable< T >::value, "allocator_realloc<T> requires T to be trivially copyable. " "NOTE: This allocator is now redundant - fl::allocator<T> automatically " "optimizes trivially copyable types. Just use fl::vector<T> instead.") | |