tmp/tmpjvz0vvru/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
### `ranges::cdata` <a id="range.prim.cdata">[[range.prim.cdata]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class T>
|
| 5 |
-
constexpr auto as-const-pointer(const T* p) { return p; }
|
| 6 |
```
|
| 7 |
|
| 8 |
The name `ranges::cdata` denotes a customization point object
|
| 9 |
[[customization.point.object]]. Given a subexpression `E` with type `T`,
|
| 10 |
let `t` be an lvalue that denotes the reified object for `E`. Then:
|
|
|
|
| 1 |
### `ranges::cdata` <a id="range.prim.cdata">[[range.prim.cdata]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class T>
|
| 5 |
+
constexpr auto as-const-pointer(const T* p) noexcept { return p; } // exposition only
|
| 6 |
```
|
| 7 |
|
| 8 |
The name `ranges::cdata` denotes a customization point object
|
| 9 |
[[customization.point.object]]. Given a subexpression `E` with type `T`,
|
| 10 |
let `t` be an lvalue that denotes the reified object for `E`. Then:
|