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

◆ operator()() [7/7]

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

Definition at line 137 of file types.h.

137 {
138 // Convert between floating point types (e.g., double to float)
139 storage = static_cast<T>(value);
140 result = &storage;
141 }

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