From Jason Turner

[map.cons]

Diff to HTML by rtfpessoa

tmp/tmpba47sldh/{from.md → to.md} RENAMED
@@ -1,9 +1,9 @@
1
  #### `map` constructors, copy, and assignment <a id="map.cons">[[map.cons]]</a>
2
 
3
  ``` cpp
4
- explicit map(const Compare& comp = Compare(),
5
  const Allocator& = Allocator());
6
  ```
7
 
8
  *Effects:* Constructs an empty `map` using the specified comparison
9
  object and allocator.
@@ -14,13 +14,13 @@ object and allocator.
14
  template <class InputIterator>
15
  map(InputIterator first, InputIterator last,
16
  const Compare& comp = Compare(), const Allocator& = Allocator());
17
  ```
18
 
19
- *Requires:* If the iterator’s dereference operator returns an lvalue or
20
  a const rvalue `pair<key_type, mapped_type>`, then both `key_type` and
21
- `mapped_type` shall be `CopyConstructible`.
22
 
23
  *Effects:* Constructs an empty `map` using the specified comparison
24
  object and allocator, and inserts elements from the range \[`first`,
25
  `last`).
26
 
 
1
  #### `map` constructors, copy, and assignment <a id="map.cons">[[map.cons]]</a>
2
 
3
  ``` cpp
4
+ explicit map(const Compare& comp,
5
  const Allocator& = Allocator());
6
  ```
7
 
8
  *Effects:* Constructs an empty `map` using the specified comparison
9
  object and allocator.
 
14
  template <class InputIterator>
15
  map(InputIterator first, InputIterator last,
16
  const Compare& comp = Compare(), const Allocator& = Allocator());
17
  ```
18
 
19
+ *Requires:* If the iterator’s indirection operator returns an lvalue or
20
  a const rvalue `pair<key_type, mapped_type>`, then both `key_type` and
21
+ `mapped_type` shall be `CopyInsertable` into `*this`.
22
 
23
  *Effects:* Constructs an empty `map` using the specified comparison
24
  object and allocator, and inserts elements from the range \[`first`,
25
  `last`).
26