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 772 of file allocator.h.

772 {
773 if (p == nullptr) return;
774 new(static_cast<void*>(p)) U(fl::forward<Args>(args)...);
775 }

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

+ Here is the call graph for this function: