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

◆ operator()() [5/9]

template<typename IntType = i64>
void fl::int_conversion_visitor< IntType >::operator() ( const float & value)
inline

Definition at line 199 of file types.h.

199 {
200 // NEW INSTRUCTIONS: AUTO CONVERT FLOAT TO INT
201 result = static_cast<IntType>(value);
202 }
fl::optional< IntType > result
Definition types.h:143

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