|
scc 2026.07
SystemC components library
|
RAII for implementing DEFER behavior. More...
#include <defer.h>
Public Member Functions | |
| constexpr | CallOnScopeExit (Lambda initialLambda) |
| Create RAII wrapper around Lambda. | |
| CallOnScopeExit (CallOnScopeExit &&other) | |
| Usually optimized away due to RVO. | |
| CallOnScopeExit (const CallOnScopeExit &other)=delete | |
| CallOnScopeExit & | operator= (const CallOnScopeExit &other)=delete |
| ~CallOnScopeExit () | |
| Actual lambda call once CallOnScopeExit goes out of scope. | |
RAII for implementing DEFER behavior.
|
inlineconstexpr |
|
inline |
|
inline |
Actual lambda call once CallOnScopeExit goes out of scope.