From Jason Turner

[fs.op.equivalent]

Diff to HTML by rtfpessoa

tmp/tmp3omhkrh8/{from.md → to.md} RENAMED
@@ -1,22 +1,22 @@
1
  #### Equivalent <a id="fs.op.equivalent">[[fs.op.equivalent]]</a>
2
 
3
  ``` cpp
4
- bool equivalent(const path& p1, const path& p2);
5
- bool equivalent(const path& p1, const path& p2, error_code& ec) noexcept;
6
  ```
7
 
8
- *Returns:* `true`, if `p1` and `p2` resolve to the same file system
9
- entity, otherwise `false`. The signature with argument `ec` returns
10
- `false` if an error occurs.
11
-
12
  Two paths are considered to resolve to the same file system entity if
13
  two candidate entities reside on the same device at the same location.
14
 
15
  [*Note 1*: On POSIX platforms, this is determined as if by the values
16
  of the POSIX `stat` class, obtained as if by `stat()` for the two paths,
17
  having equal `st_dev` values and equal `st_ino` values. — *end note*]
18
 
19
- *Remarks:* `!exists(p1) || !exists(p2)` is an error.
 
 
20
 
21
  *Throws:* As specified in  [[fs.err.report]].
22
 
 
 
 
1
  #### Equivalent <a id="fs.op.equivalent">[[fs.op.equivalent]]</a>
2
 
3
  ``` cpp
4
+ bool filesystem::equivalent(const path& p1, const path& p2);
5
+ bool filesystem::equivalent(const path& p1, const path& p2, error_code& ec) noexcept;
6
  ```
7
 
 
 
 
 
8
  Two paths are considered to resolve to the same file system entity if
9
  two candidate entities reside on the same device at the same location.
10
 
11
  [*Note 1*: On POSIX platforms, this is determined as if by the values
12
  of the POSIX `stat` class, obtained as if by `stat()` for the two paths,
13
  having equal `st_dev` values and equal `st_ino` values. — *end note*]
14
 
15
+ *Returns:* `true`, if `p1` and `p2` resolve to the same file system
16
+ entity, otherwise `false`. The signature with argument `ec` returns
17
+ `false` if an error occurs.
18
 
19
  *Throws:* As specified in  [[fs.err.report]].
20
 
21
+ *Remarks:* `!exists(p1) || !exists(p2)` is an error.
22
+