FastLED 3.9.15
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::DefaultValueVisitor< T >::operator() ( const U & value)
inline

Definition at line 253 of file json.h.

255 {
256 // Convert between floating point types (e.g., double to float)
257 storage = static_cast<T>(value);

References result, storage, fl::is_floating_point< T >::value, and fl::is_same< T, U >::value.