code_matches_instance Function

private function code_matches_instance(self, other)

Determines if a passed exit_code instance has the same code as this instance.

Type Bound

exit_code

Arguments

Type IntentOptional Attributes Name
class(exit_code), intent(in) :: self
type(exit_code), intent(in) :: other

Return Value logical


Contents

Source Code


Source Code

  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