FastLED 3.9.15
Loading...
Searching...
No Matches
fl::default_value_visitor< T > Struct Template Reference

Detailed Description

template<typename T>
struct fl::default_value_visitor< T >

Definition at line 67 of file types.h.

#include <types.h>

Public Member Functions

 default_value_visitor (const T &fb) FL_NOEXCEPT
 
template<typename U>
void accept (const U &value) FL_NOEXCEPT
 
void operator() (const fl::nullptr_t &)
 
void operator() (const T &value) FL_NOEXCEPT
 
template<typename U>
fl::enable_if<!(fl::is_integral< T >::value &&fl::is_integral< U >::value) FL_NOEXCEPT &&!(fl::is_integral< T >::value &&fl::is_floating_point< U >::value)&&!(fl::is_floating_point< T >::value &&fl::is_integral< U >::value)&&!(fl::is_floating_point< T >::value &&fl::is_floating_point< U >::value &&!fl::is_same< T, U >::value), void >::type operator() (const U &)
 
template<typename U>
fl::enable_if< fl::is_integral< T >::value &&fl::is_integral< U >::value, void >::type operator() (const U &value) FL_NOEXCEPT
 
template<typename U>
fl::enable_if< fl::is_integral< T >::value &&fl::is_floating_point< U >::value, void >::type operator() (const U &value) FL_NOEXCEPT
 
template<typename U>
fl::enable_if< fl::is_floating_point< T >::value &&fl::is_integral< U >::value, void >::type operator() (const U &value) FL_NOEXCEPT
 
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 operator() (const U &value) FL_NOEXCEPT
 

Public Attributes

const T & fallback
 
const T * result = nullptr
 
storage
 

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