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