From Jason Turner

[fs.op.remove]

Diff to HTML by rtfpessoa

tmp/tmpbkg7vap1/{from.md → to.md} RENAMED
@@ -4,17 +4,18 @@
4
  bool filesystem::remove(const path& p);
5
  bool filesystem::remove(const path& p, error_code& ec) noexcept;
6
  ```
7
 
8
  *Effects:* If `exists(symlink_status(p, ec))`, the file `p` is removed
9
- as if by POSIX `remove()`.
10
 
11
  [*Note 1*: A symbolic link is itself removed, rather than the file it
12
  resolves to. — *end note*]
13
 
14
  *Ensures:* `exists(symlink_status(p))` is `false`.
15
 
16
- *Returns:* `false` if `p` did not exist, otherwise `true`. The signature
17
- with argument `ec` returns `false` if an error occurs.
 
18
 
19
  *Throws:* As specified in  [[fs.err.report]].
20
 
 
4
  bool filesystem::remove(const path& p);
5
  bool filesystem::remove(const path& p, error_code& ec) noexcept;
6
  ```
7
 
8
  *Effects:* If `exists(symlink_status(p, ec))`, the file `p` is removed
9
+ as if by POSIX `remove`.
10
 
11
  [*Note 1*: A symbolic link is itself removed, rather than the file it
12
  resolves to. — *end note*]
13
 
14
  *Ensures:* `exists(symlink_status(p))` is `false`.
15
 
16
+ *Returns:* `true` if a file `p` has been removed and `false` otherwise.
17
+
18
+ [*Note 2*: Absence of a file `p` is not an error. — *end note*]
19
 
20
  *Throws:* As specified in  [[fs.err.report]].
21