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

◆ construct()

template<typename T, fl::size N, typename BaseAllocator = fl::allocator<T>>
template<typename U, typename... Args>
void fl::allocator_inlined< T, N, BaseAllocator >::construct ( U * p,
Args &&... args )
inline

Definition at line 677 of file allocator.h.

677 {
678 if (p == nullptr) return;
679 new(static_cast<void*>(p)) U(fl::forward<Args>(args)...);
680 }