FastLED 3.9.15
Loading...
Searching...
No Matches
fl::int_conversion_visitor< IntType > Struct Template Reference

Detailed Description

template<typename IntType = i64>
struct fl::int_conversion_visitor< IntType >

Definition at line 142 of file types.h.

#include <types.h>

+ Inheritance diagram for fl::int_conversion_visitor< IntType >:
+ Collaboration diagram for fl::int_conversion_visitor< IntType >:

Public Member Functions

template<typename U>
void accept (const U &value) FL_NOEXCEPT
 
void operator() (const bool &value) FL_NOEXCEPT
 
template<typename T = IntType>
fl::enable_if< fl::is_same< T, double >::value, void >::type operator() (const double &value) FL_NOEXCEPT
 
template<typename T = IntType>
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
 
void operator() (const float &value) FL_NOEXCEPT
 
template<typename T = IntType>
fl::enable_if< fl::is_same< T, i64 >::value, void >::type operator() (const i64 &value) FL_NOEXCEPT
 
template<typename T = IntType>
fl::enable_if<!fl::is_same< T, i64 >::value, void >::type operator() (const i64 &value) FL_NOEXCEPT
 
template<typename T = IntType>
fl::enable_if<!fl::is_same< T, i64 >::value &&!fl::is_same< T, double >::value, void >::type operator() (const IntType &value) FL_NOEXCEPT
 
template<typename T>
void operator() (const T &) FL_NOEXCEPT
 

Public Attributes

fl::optional< IntType > result
 

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