|
FastLED 3.10.8
|
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_NO_EXCEPT=delete | |
| template<typename EFP> | |
| scope_exit (EFP &&f) | |
| scope_exit (scope_exit &&rhs) FL_NO_EXCEPT | |
| ~scope_exit () FL_NO_EXCEPT | |
| scope_exit & | operator= (const scope_exit &) FL_NO_EXCEPT=delete |
| scope_exit & | operator= (scope_exit &&) FL_NO_EXCEPT=delete |
| void | release () FL_NO_EXCEPT |
Private Attributes | |
| bool | mActive |
| EF | mExitFunction |