beman::scope namespace
Types
Name |
Description |
|
Invocation checker that enables execution only while unwinding an exception. |
|
Invocation checker that enables execution only when no exception is active. |
Invocation checker used by |
|
Generalized scope guard that conditionally invokes a callable at scope exit. |
|
Scope guard specialization that does not invoke its exit function when construction fails. |
|
Scope guard specialization that invokes its exit function when construction fails. |
|
|
Generalized scope guard template |
Executes a callable on every scope exit unless released. |
|
Executes a callable only when the scope exits during exception unwinding. |
|
Executes a callable only when the scope exits without an exception. |
Enums
Name |
Description |
|
Controls whether the exit function runs if a scope guard constructor throws. |