FastLED
3.9.15
Loading...
Searching...
No Matches
noexcept.h
Go to the documentation of this file.
1
#pragma once
2
3
// FL_NOEXCEPT: intentionally a noop on all platforms.
4
// noexcept was causing too many platform compatibility issues (AVR, WASM, etc.)
5
// so it is disabled everywhere until a robust cross-platform solution is found.
6
7
#ifndef FL_NOEXCEPT
8
#define FL_NOEXCEPT
9
#endif
10
11
// FL_HAS_NOEXCEPT: defined (as 1) when FL_NOEXCEPT actually expands to the
12
// real noexcept keyword. Currently FL_NOEXCEPT is always a noop, so
13
// FL_HAS_NOEXCEPT is never defined. Code that checks whether noexcept is
14
// in effect (e.g. static_assert(noexcept(...))) must be gated on this macro.
15
//
16
// When noexcept support is eventually re-enabled for a platform, add:
17
// #define FL_NOEXCEPT noexcept
18
// #define FL_HAS_NOEXCEPT 1
fl
stl
noexcept.h
Generated on Tue Jun 16 2026 00:07:00 for FastLED by
1.13.2