FastLED 3.6.0
Loading...
Searching...
No Matches
cpp_compat.h File Reference

Detailed Description

Compatibility functions based on C++ version.

Definition in file cpp_compat.h.

#include "FastLED.h"

Go to the source code of this file.

Macros

#define static_assert(expression, message)
 Compile-time assertion checking, introduced in C++11.
 
#define constexpr   const
 Declares that it is possible to evaluate a value at compile time, introduced in C++11.
 
#define FASTLED_REGISTER   register
 

Macro Definition Documentation

◆ constexpr

#define constexpr   const

Declares that it is possible to evaluate a value at compile time, introduced in C++11.

See also
https://en.cppreference.com/w/cpp/language/constexpr

Definition at line 17 of file cpp_compat.h.

◆ FASTLED_REGISTER

#define FASTLED_REGISTER   register

Definition at line 25 of file cpp_compat.h.

◆ static_assert

#define static_assert (   expression,
  message 
)

Compile-time assertion checking, introduced in C++11.

See also
https://en.cppreference.com/w/cpp/language/static_assert

Definition at line 13 of file cpp_compat.h.