Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(container), | intent(in) | :: | item1 | The first item in the comparison |
||
class(container), | intent(in) | :: | item2 | The second item in the comparison |
negative if item1 < item2
, 0 if item1 == item2
, positive
if item1 > item2
An abstract interface for a procedure comparing two container objects. Note that a procedure may satisfy both this abstract interface and subtraction_func.