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

◆ visit_fn()

template<typename... Types>
template<typename T, typename Visitor>
static void fl::Variant< Types >::visit_fn ( void * storage,
Visitor & v )
inlinestaticprivate

Definition at line 171 of file variant.h.

171 {
172 // unsafe_cast is OK here because we know _tag matched T
173 v.accept(*reinterpret_cast<T *>(storage));
174 }