cpp/filesystem/path/operator cmp

Compares two paths lexicographically.

@1@ Checks whether and  are equal. Equivalent to.

@2@ Checks whether and  are not equal. Equivalent to.

@3@ Checks whether is less than. Equivalent to.

@4@ Checks whether is less than or equal to. Equivalent to.

@5@ Checks whether is greater than. Equivalent to.

@6@ Checks whether is greater than or equal to. Equivalent to.

@7@ Obtains the three-way comparison result of and. Equivalent to.

This prevents undesirable conversions in the presence of a using-directive.

Return value
@1-6@ if the corresponding comparison yields,  otherwise. @7@ if  is less than, otherwise  if  is less than , otherwise.