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

◆ operator()() [5/15]

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

Definition at line 281 of file types.h.

281 {
282 // Same #3002 reasoning — but the variant never holds `double`, so
283 // this overload is dead code in practice. Keep the direct cast for
284 // semantic completeness; LTO will remove it.
285 result = static_cast<i64>(value);
286 }
fl::optional< i64 > result
Definition types.h:248

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