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

◆ typed_move_thunk()

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

Definition at line 66 of file variant.h.

66 {
67 T* source = fl::bit_cast_ptr<T>(src);
68 new (dst) T(fl::move(*source));
69}
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:28
To * bit_cast_ptr(void *storage) FL_NO_EXCEPT
Definition bit_cast.h:60

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

Referenced by pick_variant_move_fn().

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