Invocation checker that enables execution only while unwinding an exception.

Synopsis

Declared in <beman/scope/scope.hpp>

class releaseable_execute_only_when_exception;

Member Functions

Name

Description

operator()

Returns whether destruction is occurring during exception unwinding.

release

Disables the exit function.