Compares path strings naturally. Comparing paths naturally requires path separators to be treated specially. Intended for usage in opCmp overloads.
-1 if a comes before b, 0 if a and b are equal, 1 if a comes after b
struct someStruct { string someText; int opCmp(someStruct b) { return comparePathsNatural(this.someText, b.someText); } }
See Implementation
Compares path strings naturally. Comparing paths naturally requires path separators to be treated specially. Intended for usage in opCmp overloads.