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

◆ operator()() [2/6]

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

Definition at line 347 of file types.h.

347 {
348 // NEW INSTRUCTIONS: AUTO CONVERT DOUBLE TO BOOL
349 // 0.0 → false, non-zero → true
350 result = (value != 0.0);
351 }
constexpr int type_rank< T >::value
fl::optional< bool > result
Definition types.h:323

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