FastLED 3.9.15
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 107 of file types.h.

107 {
108 // Convert integer to float
109 storage = static_cast<T>(value);
110 result = &storage;
111 }

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