FastLED 3.9.15
Loading...
Searching...
No Matches
fl::float_conversion_visitor< FloatType > Struct Template Reference

Detailed Description

template<typename FloatType = double>
struct fl::float_conversion_visitor< FloatType >

Definition at line 394 of file types.h.

#include <types.h>

+ Inheritance diagram for fl::float_conversion_visitor< FloatType >:
+ Collaboration diagram for fl::float_conversion_visitor< FloatType >:

Public Member Functions

template<typename U>
void accept (const U &value) FL_NOEXCEPT
 
void operator() (const bool &value) FL_NOEXCEPT
 
template<typename T = FloatType>
fl::enable_if<!fl::is_same< T, double >::value, void >::type operator() (const double &value) FL_NOEXCEPT
 
void operator() (const fl::string &str) FL_NOEXCEPT
 
template<typename T = FloatType>
fl::enable_if<!fl::is_same< T, float >::value, void >::type operator() (const float &value) FL_NOEXCEPT
 
void operator() (const FloatType &value) FL_NOEXCEPT
 
void operator() (const i64 &value) FL_NOEXCEPT
 
template<typename T>
void operator() (const T &) FL_NOEXCEPT
 

Public Attributes

fl::optional< FloatType > result
 

The documentation for this struct was generated from the following file: