| Technical Specification | ||||
| Filesystem library(filesystem TS) | ||||
| Library fundamentals(library fundamentals TS) | ||||
| Library fundamentals 2(library fundamentals TS v2) | ||||
| Library fundamentals 3(library fundamentals TS v3) | ||||
| Extensions for parallelism(parallelism TS) | ||||
| Extensions for parallelism 2(parallelism TS v2) | ||||
| Extensions for concurrency(concurrency TS) | ||||
| Extensions for concurrency 2(concurrency TS v2) | ||||
| Concepts(concepts TS) | ||||
| Ranges(ranges TS) | ||||
| Reflection(reflection TS) | ||||
| Mathematical special functions(special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
| Classes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Functions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| File types | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Path decomposition | ||||
| Non-member functions | ||||
operator==operator!=operator<operator<=operator>operator>= | ||||
bool operator==(const path& lhs,const path& rhs); | (1) | (filesystem TS) |
bool operator!=(const path& lhs,const path& rhs); | (2) | (filesystem TS) |
bool operator<(const path& lhs,const path& rhs); | (3) | (filesystem TS) |
bool operator<=(const path& lhs,const path& rhs); | (4) | (filesystem TS) |
bool operator>(const path& lhs,const path& rhs); | (5) | (filesystem TS) |
bool operator>=(const path& lhs,const path& rhs); | (6) | (filesystem TS) |
Compares two paths lexicographically.
Contents |
| lhs, rhs | - | the paths to compare |
true if the corresponding comparison yields,false otherwise.
Path equality and equivalence have different semantics.
In the case of equality, as determined byoperator==, only lexical representations are compared. Therefore,path("a")== path("b") is nevertrue.
In the case of equivalence, as determined byequivalent(), it is checked whether two pathsresolve to the same file system object. Thusequivalent("a","b") will returntrue if the paths resolve to the same file.
| compares the lexical representations of two paths lexicographically (public member function)[edit] |