tmp/tmpoa24ix8d/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
### `ranges::ssize` <a id="range.prim.ssize">[[range.prim.ssize]]</a>
|
| 2 |
|
| 3 |
The name `ranges::ssize` denotes a customization point object
|
| 4 |
-
[[customization.point.object]].
|
| 5 |
-
a subexpression `E` of type `T` is expression-equivalent to:
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
| 10 |
|
|
|
|
| 1 |
### `ranges::ssize` <a id="range.prim.ssize">[[range.prim.ssize]]</a>
|
| 2 |
|
| 3 |
The name `ranges::ssize` denotes a customization point object
|
| 4 |
+
[[customization.point.object]].
|
|
|
|
| 5 |
|
| 6 |
+
Given a subexpression `E` with type `T`, let `t` be an lvalue that
|
| 7 |
+
denotes the reified object for `E`. If `ranges::size(t)` is ill-formed,
|
| 8 |
+
`ranges::ssize(E)` is ill-formed. Otherwise let `D` be
|
| 9 |
+
`make-signed-like-t<decltype(ranges::{}size(t))>`, or `ptrdiff_t` if it
|
| 10 |
+
is wider than that type; `ranges::ssize(E)` is expression-equivalent to
|
| 11 |
+
`static_cast<D>(ranges::size(t))`.
|
| 12 |
|