|
FastLED 3.9.15
|
RAII guard that executes a callable when destroyed.
| EF | Exit function type (lambda, functor, function pointer). |
Definition at line 17 of file scope_exit.h.
#include <scope_exit.h>
Public Member Functions | |
| scope_exit (const scope_exit &) FL_NOEXCEPT=delete | |
| template<typename EFP> | |
| scope_exit (EFP &&f) | |
| scope_exit (scope_exit &&rhs) FL_NOEXCEPT | |
| ~scope_exit () FL_NOEXCEPT | |
| scope_exit & | operator= (const scope_exit &) FL_NOEXCEPT=delete |
| scope_exit & | operator= (scope_exit &&) FL_NOEXCEPT=delete |
| void | release () FL_NOEXCEPT |
Private Attributes | |
| bool | mActive |
| EF | mExitFunction |