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

◆ operator()() [6/7]

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

Definition at line 128 of file types.h.

128 {
129 // Convert integer to float
130 storage = static_cast<T>(value);
131 result = &storage;
132 }

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