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

◆ operator()() [5/15]

void fl::int_conversion_visitor< i64 >::operator() ( const double & value)
inline

Definition at line 312 of file types.h.

312 {
313 // Same #3002 reasoning — but the variant never holds `double`, so
314 // this overload is dead code in practice. Keep the direct cast for
315 // semantic completeness; LTO will remove it.
316 result = static_cast<i64>(value);
317 }
fl::optional< i64 > result
Definition types.h:279

References fl::FL_NO_EXCEPT, result, and fl::type_rank< T >::value.