tmp/tmpp16nvy51/{from.md → to.md}
RENAMED
|
@@ -30,14 +30,10 @@ Path equality and path equivalence have different semantics.
|
|
| 30 |
- Equivalence is determined by the `equivalent()` non-member function,
|
| 31 |
which determines if two paths resolve [[fs.class.path]] to the same
|
| 32 |
file system entity. \[*Example 2*: `equivalent("foo", "bar")` will be
|
| 33 |
`true` when both paths resolve to the same file. — *end example*]
|
| 34 |
|
| 35 |
-
Programmers wishing to determine if two paths are “the same” must decide
|
| 36 |
-
if “the same” means “the same representation” or “resolve to the same
|
| 37 |
-
actual file”, and choose the appropriate function accordingly.
|
| 38 |
-
|
| 39 |
— *end note*]
|
| 40 |
|
| 41 |
``` cpp
|
| 42 |
friend strong_ordering operator<=>(const path& lhs, const path& rhs) noexcept;
|
| 43 |
```
|
|
|
|
| 30 |
- Equivalence is determined by the `equivalent()` non-member function,
|
| 31 |
which determines if two paths resolve [[fs.class.path]] to the same
|
| 32 |
file system entity. \[*Example 2*: `equivalent("foo", "bar")` will be
|
| 33 |
`true` when both paths resolve to the same file. — *end example*]
|
| 34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
— *end note*]
|
| 36 |
|
| 37 |
``` cpp
|
| 38 |
friend strong_ordering operator<=>(const path& lhs, const path& rhs) noexcept;
|
| 39 |
```
|