FastLED 3.10.6
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 786 of file allocator.h.

786 {
787 if (p == nullptr) return;
788 new(static_cast<void*>(p)) U(fl::forward<Args>(args)...);
789 }

References args, fl::FL_NO_EXCEPT, and fl::forward().

+ Here is the call graph for this function: