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

◆ construct()

template<typename T, fl::size SLAB_SIZE = FASTLED_DEFAULT_SLAB_SIZE>
template<typename U, typename... Args>
void fl::allocator_slab< T, SLAB_SIZE >::construct ( U * p,
Args &&... args )
inline

Definition at line 488 of file allocator.h.

488 {
489 if (p == nullptr) return;
490 new(static_cast<void*>(p)) U(fl::forward<Args>(args)...);
491 }

References args, and fl::forward().

+ Here is the call graph for this function: