FastLED 3.10.8
Loading...
Searching...
No Matches

◆ get_swap_fn() [1/2]

template<typename T>
fl::enable_if< is_swappable< T >::value, void(*)(void *, void *)>::type fl::detail::get_swap_fn ( )

Definition at line 268 of file basic_vector.h.

268 {
269 return [](void* a, void* b) FL_NO_EXCEPT {
270 T& ta = *static_cast<T*>(a);
271 T& tb = *static_cast<T*>(b);
272 T tmp(static_cast<T&&>(ta));
273 ta = static_cast<T&&>(tb);
274 tb = static_cast<T&&>(tmp);
275 };
276}
u8 u8 fract8 blur_amount FL_NO_EXCEPT
Definition blur.h:186

References fl::FL_NO_EXCEPT.

Referenced by fl::vector_element_ops_for().

+ Here is the caller graph for this function: