FastLED 3.9.8
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"
#include "fl/register.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.
 

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.

◆ 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.