cpp/utility/pair/operator cmp

@1-2@ Tests if both elements of and  are equal, that is, compares  with  and  with.

@3-6@ Compares and  lexicographically by, that is, compares the first elements and only if they are equivalent, compares the second elements.

@7@ Compares and  lexicographically by, that is, compares the first elements and only if they are equivalent, compares the second elements. is the return type of.

Return value
@1@ if both  and, otherwise

@2@

@3@ If, returns. Otherwise, if, returns. Otherwise, if, returns. Otherwise, returns.

@4@

@5@

@6@

@7@ if it is not equal to, otherwise.