Determines if a passed exit_code
instance has the same code
as this instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(exit_code), | intent(in) | :: | self | |||
type(exit_code), | intent(in) | :: | other |
logical function code_matches_instance(self, other)
implicit none
class(exit_code), intent(in) :: self
type(exit_code), intent(in) :: other
code_matches_instance = self%code_matches(other%code)
end function code_matches_instance