tmp/tmpvevwpqm_/{from.md → to.md}
RENAMED
|
@@ -7,13 +7,13 @@ template<class RandomAccessIterator>
|
|
| 7 |
template<class RandomAccessIterator, class Compare>
|
| 8 |
void make_heap(RandomAccessIterator first, RandomAccessIterator last,
|
| 9 |
Compare comp);
|
| 10 |
```
|
| 11 |
|
| 12 |
-
*Effects:* Constructs a heap out of the range \[`first`, `last`).
|
| 13 |
-
|
| 14 |
*Requires:* The type of `*first` shall satisfy the `MoveConstructible`
|
| 15 |
-
requirements (Table [[moveconstructible]]) and the `MoveAssignable`
|
| 16 |
-
requirements (Table [[moveassignable]]).
|
| 17 |
|
| 18 |
-
*
|
|
|
|
|
|
|
| 19 |
|
|
|
|
| 7 |
template<class RandomAccessIterator, class Compare>
|
| 8 |
void make_heap(RandomAccessIterator first, RandomAccessIterator last,
|
| 9 |
Compare comp);
|
| 10 |
```
|
| 11 |
|
|
|
|
|
|
|
| 12 |
*Requires:* The type of `*first` shall satisfy the `MoveConstructible`
|
| 13 |
+
requirements (Table [[tab:moveconstructible]]) and the `MoveAssignable`
|
| 14 |
+
requirements (Table [[tab:moveassignable]]).
|
| 15 |
|
| 16 |
+
*Effects:* Constructs a heap out of the range \[`first`, `last`).
|
| 17 |
+
|
| 18 |
+
*Complexity:* At most 3(`last - first`) comparisons.
|
| 19 |
|