tmp/tmp6dxvsp5r/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### `ranges::cend` <a id="range.access.cend">[[range.access.cend]]</a>
|
| 2 |
+
|
| 3 |
+
The name `ranges::cend` denotes a customization point object
|
| 4 |
+
[[customization.point.object]]. The expression `ranges::cend(E)` for a
|
| 5 |
+
subexpression `E` of type `T` is expression-equivalent to:
|
| 6 |
+
|
| 7 |
+
- `ranges::end(static_cast<const T&>(E))` if `E` is an lvalue.
|
| 8 |
+
- Otherwise, `ranges::end(static_cast<const T&&>(E))`.
|
| 9 |
+
|
| 10 |
+
[*Note 1*: Whenever `ranges::cend(E)` is a valid expression, the types
|
| 11 |
+
`S` and `I` of `ranges::cend(E)` and `ranges::cbegin(E)` model
|
| 12 |
+
`sentinel_for<S, I>`. — *end note*]
|
| 13 |
+
|