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

◆ operator()() [5/7]

template<typename T>
template<typename U>
fl::enable_if< fl::is_integral< T >::value &&fl::is_floating_point< U >::value, void >::type fl::default_value_visitor< T >::operator() ( const U & value)
inline

Definition at line 98 of file types.h.

98 {
99 // Convert float to integer
100 storage = static_cast<T>(value);
101 result = &storage;
102 }

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