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

◆ operator()() [3/9]

template<typename IntType = i64>
template<typename T = IntType>
fl::enable_if<!fl::is_same< T, double >::value, void >::type fl::int_conversion_visitor< IntType >::operator() ( const double & value)
inline

Definition at line 207 of file types.h.

207 {
208 // NEW INSTRUCTIONS: AUTO CONVERT FLOAT TO INT
209 result = static_cast<IntType>(value);
210 }
fl::optional< IntType > result
Definition types.h:143

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