Controls whether the exit function runs if a scope guard constructor throws.

Synopsis

Declared in <beman/scope/scope.hpp>

enum class exception_during_construction_behaviour : int;

Members

Name

Description

dont_invoke_exit_func

Do not invoke the exit function when construction fails.

invoke_exit_func

Invoke the exit function when construction fails.