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

◆ copy_fn()

template<typename... Types>
template<typename T>
static void fl::Variant< Types >::copy_fn ( void * storage,
const Variant< Types > & other )
inlinestaticprivate

Definition at line 204 of file variant.h.

204 {
205 new (storage) T(*reinterpret_cast<const T *>(&other._storage));
206 }
char _storage[max_size< Types... >::value]
Definition variant.h:255