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

959 {
960 if (p == nullptr) return;
961 new(static_cast<void*>(p)) U(fl::forward<Args>(args)...);
962 }