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

973 {
974 if (p == nullptr) return;
975 new(static_cast<void*>(p)) U(fl::forward<Args>(args)...);
976 }