File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 341341If a pointer to $ X$ would be valid in
342342the context of the evaluation of the expression\iref {basic.fundamental },
343343the result designates $ X$ ;
344- otherwise, the behavior is undefined.\ubdef {expr.type.reference, lifetime}
344+ otherwise, the behavior is undefined.\ubdef {expr.type.reference. lifetime}
345345\begin {note }
346346Before the lifetime of the reference has started or after it has ended,
347347the behavior is undefined (see~\ref {basic.life }).
Original file line number Diff line number Diff line change 489489\rSec 2[ub.expr.type]{Type}
490490
491491\pnum
492- \ubxref {expr.type.reference, lifetime } \\
492+ \ubxref {expr.type.reference. lifetime } \\
493493Evaluating a reference when an equivalent use of a pointer denoting the same object
494494would be invalid has undefined behavior.
495495
You can’t perform that action at this time.
0 commit comments