tmp/tmpttfpsl2p/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### `ranges::cdata` <a id="range.prim.cdata">[[range.prim.cdata]]</a>
|
| 2 |
+
|
| 3 |
+
The name `ranges::cdata` denotes a customization point object
|
| 4 |
+
[[customization.point.object]]. The expression `ranges::{}cdata(E)` for
|
| 5 |
+
a subexpression `E` of type `T` is expression-equivalent to:
|
| 6 |
+
|
| 7 |
+
- `ranges::data(static_cast<const T&>(E))` if `E` is an lvalue.
|
| 8 |
+
- Otherwise, `ranges::data(static_cast<const T&&>(E))`.
|
| 9 |
+
|
| 10 |
+
[*Note 1*: Whenever `ranges::cdata(E)` is a valid expression, it has
|
| 11 |
+
pointer to object type. — *end note*]
|
| 12 |
+
|