FastLED 3.9.15
Loading...
Searching...
No Matches
fl::has_data_method< T > Class Template Reference

Detailed Description

template<typename T>
class fl::has_data_method< T >

Definition at line 34 of file span.h.

#include <span.h>

Static Public Attributes

static constexpr bool value = sizeof(test<T>(nullptr)) == sizeof(yes)
 

Private Types

typedef fl::u16 no
 
typedef fl::u8 yes
 

Static Private Member Functions

template<typename>
static no test (...) FL_NOEXCEPT
 
template<typename C>
static yes test (decltype(&C::data)) FL_NOEXCEPT
 

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