FastLED 3.9.15
Loading...
Searching...
No Matches

◆ allocate()

template<typename T, fl::size SLAB_SIZE = FASTLED_DEFAULT_SLAB_SIZE>
T * fl::allocator_slab< T, SLAB_SIZE >::allocate ( fl::size n)
inline

Definition at line 757 of file allocator.h.

757 {
758 // Use a static allocator instance per type/size combination
760 return allocator.allocate(n);
761 }
T * allocate(fl::size n) FL_NOEXCEPT
Definition allocator.h:757
static SlabAllocator< T, SLAB_SIZE > & get_allocator() FL_NOEXCEPT
Definition allocator.h:743

References fl::allocator< T >::allocate(), FL_NOEXCEPT, and get_allocator().

+ Here is the call graph for this function: