FastLED 3.10.6
Loading...
Searching...
No Matches

◆ typed_copy_thunk()

template<typename T>
void fl::detail::typed_copy_thunk ( void * dst,
const void * src )

Definition at line 60 of file variant.h.

60 {
61 const T* source = fl::bit_cast_ptr<const T>(src);
62 new (dst) T(*source);
63}
To * bit_cast_ptr(void *storage) FL_NO_EXCEPT
Definition bit_cast.h:60

References fl::bit_cast_ptr(), and fl::FL_NO_EXCEPT.

Referenced by pick_variant_copy_fn().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: