|
PMT Renovated main-branch
Partition Manager Tool is a fast, reliable, and feature-rich CLI application for Android devices that enables advanced partition operations such as backup, flashing, erasing, information retrieval, and more.
|
When an object created within a given scope leaves that scope, the corresponding input function is executed. More...
#include <management.hpp>
Public Member Functions | |
| ScopeGuard (F &&fn) | |
| Constructor with function input. | |
| ScopeGuard (const ScopeGuard &)=delete | |
| This class is not copyable. | |
| ScopeGuard (ScopeGuard &&other) noexcept | |
| Move constructor. | |
| ~ScopeGuard () | |
| Run function if scope guard is active. | |
| void | now () noexcept |
| Run process now. | |
| void | dismiss () noexcept |
| Disable scope guard. | |
| auto | release () noexcept |
| Release. | |
| ScopeGuard & | operator= (const ScopeGuard &)=delete |
| This class is not copyable. | |
When an object created within a given scope leaves that scope, the corresponding input function is executed.
| F | Function. |