tmp/tmpl4cdltpk/{from.md → to.md}
RENAMED
|
@@ -20,14 +20,15 @@ template<random_access_range R, class Comp = ranges::less, class Proj = identity
|
|
| 20 |
```
|
| 21 |
|
| 22 |
Let `comp` be `less{}` and `proj` be `identity{}` for the overloads with
|
| 23 |
no parameters by those names.
|
| 24 |
|
| 25 |
-
*Preconditions:* For the overloads in namespace `std`,
|
| 26 |
-
`
|
| 27 |
-
|
| 28 |
-
([[cpp17.
|
|
|
|
| 29 |
|
| 30 |
*Effects:* Constructs a heap with respect to `comp` and `proj` out of
|
| 31 |
the range \[`first`, `last`).
|
| 32 |
|
| 33 |
*Returns:* `last` for the overloads in namespace `ranges`.
|
|
|
|
| 20 |
```
|
| 21 |
|
| 22 |
Let `comp` be `less{}` and `proj` be `identity{}` for the overloads with
|
| 23 |
no parameters by those names.
|
| 24 |
|
| 25 |
+
*Preconditions:* For the overloads in namespace `std`,
|
| 26 |
+
`RandomAccessIterator` meets the *Cpp17ValueSwappable*
|
| 27 |
+
requirements [[swappable.requirements]] and the type of `*first` meets
|
| 28 |
+
the *Cpp17MoveConstructible* ([[cpp17.moveconstructible]]) and
|
| 29 |
+
*Cpp17MoveAssignable* ([[cpp17.moveassignable]]) requirements.
|
| 30 |
|
| 31 |
*Effects:* Constructs a heap with respect to `comp` and `proj` out of
|
| 32 |
the range \[`first`, `last`).
|
| 33 |
|
| 34 |
*Returns:* `last` for the overloads in namespace `ranges`.
|