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
-
error_code_checker<ErrorCode>
Parameters
Name | Type |
---|---|
ec |
|