Scope guard specialization that does not invoke its exit function when construction fails.
Synopsis
Declared in <beman/scope/scope.hpp>
template<class ScopeExitFunc>
class scope_guard<ScopeExitFunc, void, exception_during_construction_behaviour::dont_invoke_exit_func>;
Member Functions
Name |
Description |
|
Constructs a guard from an exit function. |
|
Invokes the exit function on destruction. |
|
Assignment operators |