Constructs the predicate.

Synopsis

Declared in header <boost/scope/exception_checker.hpp>

exception_checker() noexcept;

Description

Upon construction, the predicate saves the current number of uncaught exceptions. This information will be used when calling the predicate to detect if a new exception is being thrown. Throws: Nothing.