From Jason Turner

[fs.op.create.directory]

Diff to HTML by rtfpessoa

tmp/tmph4u2zfzr/{from.md → to.md} RENAMED
@@ -1,10 +1,10 @@
1
  #### Create directory <a id="fs.op.create.directory">[[fs.op.create.directory]]</a>
2
 
3
  ``` cpp
4
- bool create_directory(const path& p);
5
- bool create_directory(const path& p, error_code& ec) noexcept;
6
  ```
7
 
8
  *Effects:* Creates the directory `p` resolves to, as if by POSIX `mkdir`
9
  with a second argument of `static_cast<int>(perms::all)`. If `mkdir`
10
  fails because `p` resolves to an existing directory, no error is
@@ -13,12 +13,12 @@ reported. Otherwise on failure an error is reported.
13
  *Returns:* `true` if a new directory was created, otherwise `false`.
14
 
15
  *Throws:* As specified in  [[fs.err.report]].
16
 
17
  ``` cpp
18
- bool create_directory(const path& p, const path& existing_p);
19
- bool create_directory(const path& p, const path& existing_p, error_code& ec) noexcept;
20
  ```
21
 
22
  *Effects:* Creates the directory `p` resolves to, with attributes copied
23
  from directory `existing_p`. The set of attributes copied is operating
24
  system dependent. If `mkdir` fails because `p` resolves to an existing
 
1
  #### Create directory <a id="fs.op.create.directory">[[fs.op.create.directory]]</a>
2
 
3
  ``` cpp
4
+ bool filesystem::create_directory(const path& p);
5
+ bool filesystem::create_directory(const path& p, error_code& ec) noexcept;
6
  ```
7
 
8
  *Effects:* Creates the directory `p` resolves to, as if by POSIX `mkdir`
9
  with a second argument of `static_cast<int>(perms::all)`. If `mkdir`
10
  fails because `p` resolves to an existing directory, no error is
 
13
  *Returns:* `true` if a new directory was created, otherwise `false`.
14
 
15
  *Throws:* As specified in  [[fs.err.report]].
16
 
17
  ``` cpp
18
+ bool filesystem::create_directory(const path& p, const path& existing_p);
19
+ bool filesystem::create_directory(const path& p, const path& existing_p, error_code& ec) noexcept;
20
  ```
21
 
22
  *Effects:* Creates the directory `p` resolves to, with attributes copied
23
  from directory `existing_p`. The set of attributes copied is operating
24
  system dependent. If `mkdir` fails because `p` resolves to an existing