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

◆ construct()

template<typename T>
template<typename U, typename... Args>
void fl::allocator_realloc< T >::construct ( U * p,
Args &&... args )
inline

Definition at line 330 of file allocator.h.

330 {
331 if (p == nullptr) return;
332 new(static_cast<void*>(p)) U(fl::forward<Args>(args)...);
333 }