From Jason Turner

[fs.op.create.directories]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpkqpotl73/{from.md → to.md} +17 -0
tmp/tmpkqpotl73/{from.md → to.md} RENAMED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Create directories <a id="fs.op.create.directories">[[fs.op.create.directories]]</a>
2
+
3
+ ``` cpp
4
+ bool create_directories(const path& p);
5
+ bool create_directories(const path& p, error_code& ec);
6
+ ```
7
+
8
+ *Effects:* Calls `create_directory()` for each element of `p` that does
9
+ not exist.
10
+
11
+ *Returns:* `true` if a new directory was created for the directory `p`
12
+ resolves to, otherwise `false`.
13
+
14
+ *Throws:* As specified in  [[fs.err.report]].
15
+
16
+ *Complexity:* 𝑂(n) where *n* is the number of elements of `p`.
17
+