cpp/experimental/fs/path/compare

Compares the lexical representations of the path and another path.

@1@ Returns a value less than, equal to or greater than $0$ if the native representation of the path () is respectively lexicographically less than, equal to or greater than the native representation of. Comparison is performed element-wise, as if by iterating both paths from to. @2@ Equivalent to. @3@ Equivalent to.

Return value
A value less than $0$ if the path is lexicographically less than the given path.

A value equal to $0$ if the path is lexicographically equal to the given path.

A value greater than $0$ if the path is lexicographically greater than the given path.

Exceptions
@2-3@