Invocation checker that enables execution only when no exception is active.

Synopsis

Declared in <beman/scope/scope.hpp>

class releaseable_execute_when_no_exception;

Types

Name

Description

DontInvokeOnCreationException

Marker used to select the construction behavior for scope_success.

Member Functions

Name

Description

operator()

Returns whether destruction is occurring without a new exception.

release

Disables the exit function.