Library namespace.
More...
|
class | exit_action |
| A scope guard that calls its exit function on destruction, when a scope is exited. More...
|
|
class | fail_action |
| A scope guard that calls its exit function when a scope is exited via an exception. More...
|
|
class | success_action |
| A scope guard that calls its exit function when a scope is exited normally. More...
|
|
◆ exit_action()
template<typename ExitFunc >
wwa::utils::exit_action |
( |
ExitFunc | | ) |
-> exit_action< ExitFunc > |
Deduction guide for exit_action.
- Template Parameters
-
ExitFunc | Exit function type. |
◆ fail_action()
template<typename ExitFunc >
wwa::utils::fail_action |
( |
ExitFunc | | ) |
-> fail_action< ExitFunc > |
Deduction guide for fail_action.
- Template Parameters
-
ExitFunc | Exit function type. |
◆ success_action()
template<typename ExitFunc >
wwa::utils::success_action |
( |
ExitFunc | | ) |
-> success_action< ExitFunc > |
Deduction guide for success_action.
- Template Parameters
-
ExitFunc | Exit function type. |