Constructs the predicate.
Synopsis
Declared in header <boost/scope/error_code_checker.hpp>
error_code_checker(ErrorCode& ec) noexcept;
Description
Upon construction, the predicate saves a reference to the external error code object. The referenced object must remain valid for the whole lifetime duration of the predicate. Throws: Nothing.
Parameters
Name | Type |
---|---|
ec |
|