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

◆ construct()

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

Definition at line 111 of file allocator.h.

111 {
112 if (p == nullptr) return;
113 new(static_cast<void*>(p)) U(fl::forward<Args>(args)...);
114 }