FastLED 3.10.9
Loading...
Searching...
No Matches

◆ vector_swap_elements()

template<typename T>
void fl::detail::vector_swap_elements ( void * a,
void * b )

Definition at line 278 of file basic_vector.h.

278 {
279 T& ta = *static_cast<T*>(a);
280 T& tb = *static_cast<T*>(b);
281 T tmp(static_cast<T&&>(ta));
282 ta = static_cast<T&&>(tb);
283 tb = static_cast<T&&>(tmp);
284}

References fl::FL_NO_EXCEPT.

Referenced by get_swap_fn().

+ Here is the caller graph for this function: