tmp/tmp5lqwdxyg/{from.md → to.md}
RENAMED
|
@@ -1,9 +1,13 @@
|
|
| 1 |
#### `addressof` <a id="specialized.addressof">[[specialized.addressof]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
template <class T> T* addressof(T& r) noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* The actual address of the object or function referenced by
|
| 8 |
`r`, even in the presence of an overloaded `operator&`.
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#### `addressof` <a id="specialized.addressof">[[specialized.addressof]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
template <class T> constexpr T* addressof(T& r) noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* The actual address of the object or function referenced by
|
| 8 |
`r`, even in the presence of an overloaded `operator&`.
|
| 9 |
|
| 10 |
+
*Remarks:* An expression `addressof(E)` is a constant
|
| 11 |
+
subexpression ([[defns.const.subexpr]]) if `E` is an lvalue constant
|
| 12 |
+
subexpression.
|
| 13 |
+
|