From Jason Turner

[fs.path.concat]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpa54ls2hv/{from.md → to.md} +10 -5
tmp/tmpa54ls2hv/{from.md → to.md} RENAMED
@@ -1,17 +1,14 @@
1
- ##### `path` concatenation <a id="fs.path.concat">[[fs.path.concat]]</a>
2
 
3
  ``` cpp
4
  path& operator+=(const path& x);
5
  path& operator+=(const string_type& x);
6
  path& operator+=(basic_string_view<value_type> x);
7
  path& operator+=(const value_type* x);
8
- path& operator+=(value_type x);
9
  template<class Source>
10
  path& operator+=(const Source& x);
11
- template <class EcharT>
12
- path& operator+=(EcharT x);
13
  template<class Source>
14
  path& concat(const Source& x);
15
  ```
16
 
17
  *Effects:* Appends `path(x).native()` to the pathname in the native
@@ -20,12 +17,20 @@ format.
20
  [*Note 2*: This directly manipulates the value of `native()` and may
21
  not be portable between operating systems. — *end note*]
22
 
23
  *Returns:* `*this`.
24
 
 
 
 
 
 
 
 
 
25
  ``` cpp
26
  template<class InputIterator>
27
  path& concat(InputIterator first, InputIterator last);
28
  ```
29
 
30
- *Effects:* Equivalent to `return *this += path(first, last)`.
31
 
 
1
+ ##### Concatenation <a id="fs.path.concat">[[fs.path.concat]]</a>
2
 
3
  ``` cpp
4
  path& operator+=(const path& x);
5
  path& operator+=(const string_type& x);
6
  path& operator+=(basic_string_view<value_type> x);
7
  path& operator+=(const value_type* x);
 
8
  template<class Source>
9
  path& operator+=(const Source& x);
 
 
10
  template<class Source>
11
  path& concat(const Source& x);
12
  ```
13
 
14
  *Effects:* Appends `path(x).native()` to the pathname in the native
 
17
  [*Note 2*: This directly manipulates the value of `native()` and may
18
  not be portable between operating systems. — *end note*]
19
 
20
  *Returns:* `*this`.
21
 
22
+ ``` cpp
23
+ path& operator+=(value_type x);
24
+ template<class EcharT>
25
+ path& operator+=(EcharT x);
26
+ ```
27
+
28
+ *Effects:* Equivalent to: `return *this += basic_string_view(&x, 1);`
29
+
30
  ``` cpp
31
  template<class InputIterator>
32
  path& concat(InputIterator first, InputIterator last);
33
  ```
34
 
35
+ *Effects:* Equivalent to: `return *this += path(first, last);`
36