From Jason Turner

[forwardlist.cons]

Diff to HTML by rtfpessoa

tmp/tmpy1palqhr/{from.md → to.md} RENAMED
@@ -1,6 +1,6 @@
1
- #### `forward_list` constructors, copy, assignment <a id="forwardlist.cons">[[forwardlist.cons]]</a>
2
 
3
  ``` cpp
4
  explicit forward_list(const Allocator&);
5
  ```
6
 
@@ -11,26 +11,26 @@ allocator.
11
 
12
  ``` cpp
13
  explicit forward_list(size_type n, const Allocator& = Allocator());
14
  ```
15
 
 
 
16
  *Effects:* Constructs a `forward_list` object with `n` default-inserted
17
  elements using the specified allocator.
18
 
19
- *Requires:* `T` shall be `DefaultInsertable` into `*this`.
20
-
21
  *Complexity:* Linear in `n`.
22
 
23
  ``` cpp
24
  forward_list(size_type n, const T& value, const Allocator& = Allocator());
25
  ```
26
 
 
 
27
  *Effects:* Constructs a `forward_list` object with `n` copies of `value`
28
  using the specified allocator.
29
 
30
- *Requires:* `T` shall be `CopyInsertable` into `*this`.
31
-
32
  *Complexity:* Linear in `n`.
33
 
34
  ``` cpp
35
  template<class InputIterator>
36
  forward_list(InputIterator first, InputIterator last, const Allocator& = Allocator());
 
1
+ #### Constructors, copy, and assignment <a id="forwardlist.cons">[[forwardlist.cons]]</a>
2
 
3
  ``` cpp
4
  explicit forward_list(const Allocator&);
5
  ```
6
 
 
11
 
12
  ``` cpp
13
  explicit forward_list(size_type n, const Allocator& = Allocator());
14
  ```
15
 
16
+ *Preconditions:* `T` is *Cpp17DefaultInsertable* into `*this`.
17
+
18
  *Effects:* Constructs a `forward_list` object with `n` default-inserted
19
  elements using the specified allocator.
20
 
 
 
21
  *Complexity:* Linear in `n`.
22
 
23
  ``` cpp
24
  forward_list(size_type n, const T& value, const Allocator& = Allocator());
25
  ```
26
 
27
+ *Preconditions:* `T` is *Cpp17CopyInsertable* into `*this`.
28
+
29
  *Effects:* Constructs a `forward_list` object with `n` copies of `value`
30
  using the specified allocator.
31
 
 
 
32
  *Complexity:* Linear in `n`.
33
 
34
  ``` cpp
35
  template<class InputIterator>
36
  forward_list(InputIterator first, InputIterator last, const Allocator& = Allocator());