From Jason Turner

[multimap.cons]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp415kr2dw/{from.md → to.md} +13 -1
tmp/tmp415kr2dw/{from.md → to.md} RENAMED
@@ -19,7 +19,19 @@ template<class InputIterator>
19
  *Effects:* Constructs an empty `multimap` using the specified comparison
20
  object and allocator, and inserts elements from the range \[`first`,
21
  `last`).
22
 
23
  *Complexity:* Linear in N if the range \[`first`, `last`) is already
24
- sorted using `comp` and otherwise N log N, where N is `last - first`.
 
 
 
 
 
 
 
 
 
 
 
 
25
 
 
19
  *Effects:* Constructs an empty `multimap` using the specified comparison
20
  object and allocator, and inserts elements from the range \[`first`,
21
  `last`).
22
 
23
  *Complexity:* Linear in N if the range \[`first`, `last`) is already
24
+ sorted with respect to `comp` and otherwise N log N, where N is
25
+ `last - first`.
26
+
27
+ ``` cpp
28
+ template<container-compatible-range<value_type> R>
29
+ multimap(from_range_t, R&& rg, const Compare& comp = Compare(), const Allocator& = Allocator());
30
+ ```
31
+
32
+ *Effects:* Constructs an empty `multimap` using the specified comparison
33
+ object and allocator, and inserts elements from the range `rg`.
34
+
35
+ *Complexity:* Linear in N if `rg` is already sorted with respect to
36
+ `comp` and otherwise N log N, where N is `ranges::distance(rg)`.
37