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

◆ operator()() [2/6]

void fl::BoolConversionVisitor::operator() ( const double & value)
inline

Definition at line 378 of file types.h.

378 {
379 // NEW INSTRUCTIONS: AUTO CONVERT DOUBLE TO BOOL
380 // 0.0 → false, non-zero → true
381 result = (value != 0.0);
382 }
constexpr int type_rank< T >::value
fl::optional< bool > result
Definition types.h:354

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