From Jason Turner

[fs.op.remove]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpkibgpcvr/{from.md → to.md} +20 -0
tmp/tmpkibgpcvr/{from.md → to.md} RENAMED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Remove <a id="fs.op.remove">[[fs.op.remove]]</a>
2
+
3
+ ``` cpp
4
+ bool remove(const path& p);
5
+ bool 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
+ *Postconditions:* `!exists(symlink_status(p))`.
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
+