Commit 791ff12
authored
[expr.unary.op] Add a note about dereferencing a dangling pointer (cplusplus#8130)
Dereferencing a dangling pointer to an object is valid; the resulting
lvalue can be used in limited ways as per [basic.life] p8.
Add a non-normative note linking the two sections.1 parent b9a314f commit 791ff12
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5238 | 5238 | | |
5239 | 5239 | | |
5240 | 5240 | | |
| 5241 | + | |
| 5242 | + | |
| 5243 | + | |
5241 | 5244 | | |
5242 | 5245 | | |
5243 | 5246 | | |
| |||
0 commit comments