From Jason Turner

[list.capacity]

Diff to HTML by rtfpessoa

tmp/tmp9gnmdfah/{from.md → to.md} RENAMED
@@ -2,20 +2,20 @@
2
 
3
  ``` cpp
4
  void resize(size_type sz);
5
  ```
6
 
7
- *Effects:* If `size() < sz`, appends `sz - size()` value-initialized
8
  elements to the sequence. If `sz <= size()`, equivalent to
9
 
10
  ``` cpp
11
  list<T>::iterator it = begin();
12
  advance(it, sz);
13
  erase(it, end());
14
  ```
15
 
16
- *Requires:* `T` shall be `DefaultConstructible`.
17
 
18
  ``` cpp
19
  void resize(size_type sz, const T& c);
20
  ```
21
 
 
2
 
3
  ``` cpp
4
  void resize(size_type sz);
5
  ```
6
 
7
+ *Effects:* If `size() < sz`, appends `sz - size()` default-inserted
8
  elements to the sequence. If `sz <= size()`, equivalent to
9
 
10
  ``` cpp
11
  list<T>::iterator it = begin();
12
  advance(it, sz);
13
  erase(it, end());
14
  ```
15
 
16
+ *Requires:* `T` shall be `DefaultInsertable` into `*this`.
17
 
18
  ``` cpp
19
  void resize(size_type sz, const T& c);
20
  ```
21