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