Creates a predicate for checking whether an exception is being thrown

Synopsis

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

template<typename ErrorCode>
error_code_checker<ErrorCode>
check_error_code(ErrorCode& ec) noexcept;

Description

Throws: Nothing.

Return Value

Parameters

Name Type

ec

ErrorCode&