FastLED 3.9.15
Loading...
Searching...
No Matches
fl::is_base_of< Base, Derived > Struct Template Reference

Detailed Description

template<typename Base, typename Derived>
struct fl::is_base_of< Base, Derived >

Definition at line 33 of file template_magic.h.

#include <template_magic.h>

Static Public Attributes

static constexpr bool value = (kSizeDerived == sizeof(yes))
 

Private Types

enum  { kSizeDerived = sizeof(test(static_cast<Derived*>(nullptr))) }
 
typedef uint16_t no
 
typedef uint8_t yes
 

Static Private Member Functions

static no test (...)
 
static yes test (Base *)
 

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