14template <
bool Condition,
typename T =
void>
28template <
bool Condition,
typename T =
void>
32template <
typename Base,
typename Derived>
48template <
typename Base,
typename Derived>
54template <
typename T,
typename U>
56 static constexpr bool value =
false;
62 static constexpr bool value =
true;
66template <
typename T,
typename U>
74 static constexpr bool value =
false;
78template<>
struct is_pod<bool> {
static constexpr bool value =
true; };
79template<>
struct is_pod<char> {
static constexpr bool value =
true; };
80template<>
struct is_pod<signed char> {
static constexpr bool value =
true; };
81template<>
struct is_pod<unsigned char> {
static constexpr bool value =
true; };
82template<>
struct is_pod<short> {
static constexpr bool value =
true; };
83template<>
struct is_pod<unsigned short> {
static constexpr bool value =
true; };
84template<>
struct is_pod<int> {
static constexpr bool value =
true; };
85template<>
struct is_pod<unsigned int> {
static constexpr bool value =
true; };
86template<>
struct is_pod<long> {
static constexpr bool value =
true; };
87template<>
struct is_pod<unsigned long> {
static constexpr bool value =
true; };
88template<>
struct is_pod<long long> {
static constexpr bool value =
true; };
89template<>
struct is_pod<unsigned long long> {
static constexpr bool value =
true; };
90template<>
struct is_pod<float> {
static constexpr bool value =
true; };
91template<>
struct is_pod<double> {
static constexpr bool value =
true; };
92template<>
struct is_pod<long double> {
static constexpr bool value =
true; };
111template <
typename Base,
typename Derived>
128#define FASTLED_DEFINE_POD_COMPARISON_OPERATOR(CLASS, OP) \
129template <typename T, typename U> \
130typename fl::enable_if<fl::is_same<U, CLASS>::value && fl::is_pod<T>::value, bool>::type \
131operator OP (const T& pod, const CLASS& obj) { return pod OP obj; } \
132template <typename T> \
133typename fl::enable_if<fl::is_pod<T>::value, bool>::type \
134operator OP (const CLASS& obj, const T& pod) { return obj OP pod; }
Implements the FastLED namespace macros.
enable_if_t< is_base_of< Base, Derived >::value > is_derived
typename enable_if< Condition, T >::type enable_if_t
Implements a simple red square effect for 2D LED grids.
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value