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

◆ move_construct_from()

template<typename... Types>
void fl::Variant< Types >::move_construct_from ( Variant< Types > & other)
inlineprivatenoexcept

Definition at line 245 of file variant.h.

245 {
246 using Fn = void (*)(void *, Variant &);
247 static constexpr Fn table[] = {&Variant::template move_fn<Types>...};
248 table[other._tag - 1](&_storage, other);
249 _tag = other._tag;
250 other.reset();
251 }
char _storage[max_size< Types... >::value]
Definition variant.h:294
Variant() noexcept
Definition variant.h:18
void reset() noexcept
Definition variant.h:96
static void move_fn(void *storage, Variant &other)
Definition variant.h:253

Referenced by fl::Variant< fl::span< CRGB >, fl::vector< CRGB, fl::allocator_psram< CRGB > > >::Variant(), and fl::Variant< fl::span< CRGB >, fl::vector< CRGB, fl::allocator_psram< CRGB > > >::operator=().

+ Here is the caller graph for this function: