tmp/tmp3no848_b/{from.md → to.md}
RENAMED
|
@@ -3,14 +3,14 @@
|
|
| 3 |
``` cpp
|
| 4 |
static pointer pointer_traits::pointer_to(see below r);
|
| 5 |
static pointer pointer_traits<T*>::pointer_to(see below r) noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
-
|
| 9 |
unspecified; otherwise, it is `element_type&`.
|
| 10 |
|
| 11 |
-
*Returns:* The first member function returns a
|
| 12 |
-
|
| 13 |
-
this function is ill-formed if `Ptr` does not have a
|
| 14 |
-
`pointer_to` static member function. The second member function
|
| 15 |
-
`std::addressof(r)`.
|
| 16 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
static pointer pointer_traits::pointer_to(see below r);
|
| 5 |
static pointer pointer_traits<T*>::pointer_to(see below r) noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
+
If `element_type` is (possibly cv-qualified) `void`, the type of `r` is
|
| 9 |
unspecified; otherwise, it is `element_type&`.
|
| 10 |
|
| 11 |
+
*Returns:* The first member function returns a pointer to `r` obtained
|
| 12 |
+
by calling `Ptr::pointer_to(r)` through which indirection is valid; an
|
| 13 |
+
instantiation of this function is ill-formed if `Ptr` does not have a
|
| 14 |
+
matching `pointer_to` static member function. The second member function
|
| 15 |
+
returns `std::addressof(r)`.
|
| 16 |
|