|
FastLED 3.9.15
|
RAII scope guard — executes a callable on scope exit.
Modeled after P0052R10 (Library Fundamentals TS v3) and Boost.Scope scope_exit. Factory function make_scope_exit() provided for C++11 compatibility (no CTAD).
Definition in file scope_exit.h.
Include dependency graph for scope_exit.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | fl::scope_exit< EF > |
| RAII guard that executes a callable when destroyed. More... | |
Namespaces | |
| namespace | fl |
| Base definition for an LED controller. | |
Functions | |
| template<typename EF> | |
| scope_exit< decay_t< EF > > | fl::make_scope_exit (EF &&f) |
| Factory for C++11/14 (no CTAD). | |