Skip to content

Commit d02f578

Browse files
committed
[ifndr] Fix cross-references
1 parent 9aacb5c commit d02f578

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

source/ifndr.tex

+7-7
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@
317317
\pnum
318318
\ifndrxref{temp.pre.reach.def} \\
319319
A definition of a function template, member function of a class template, variable template, or static data
320-
member of a class template shall be reachable from the end of every definition domain (6.3) in which it is
321-
implicitly instantiated (13.9.2) unless the corresponding specialization is explicitly instantiated (13.9.3) in
320+
member of a class template shall be reachable from the end of every definition domain\iref{basic.def.odr} in which it is
321+
implicitly instantiated\iref{temp.inst} unless the corresponding specialization is explicitly instantiated\iref{temp.explicit} in
322322
some translation unit; no diagnostic is required.
323323

324324
\pnum
@@ -342,7 +342,7 @@
342342

343343
\pnum
344344
\ifndrxref{temp.arg.template.sat.constraints} \\
345-
Any partial specializations (13.7.6) associated with the primary template are considered when a specialization
345+
Any partial specializations\iref{temp.spec.partial} associated with the primary template are considered when a specialization
346346
based on the template template-parameter is instantiated. If a specialization is not reachable from the point of
347347
instantiation, and it would have been selected had it been reachable, the program is ill-formed, no diagnostic
348348
required.
@@ -460,8 +460,8 @@
460460
\pnum
461461
\ifndrxref{temp.names.sat.constraints} \\
462462
When the template-name of a simple-template-id names a constrained non-function template or a constrained
463-
template template-parameter, and all template-arguments in the simple-template-id are non-dependent (13.8.3.5),
464-
the associated constraints (13.5.3) of the constrained template shall be satisfied (13.5.2).
463+
template template-parameter, and all template-arguments in the simple-template-id are non-dependent\iref{temp.dep.temp},
464+
the associated constraints\iref{temp.constr.decl} of the constrained template shall be satisfied\iref{temp.constr.constr}.
465465

466466
\pnum
467467
\begin{example}
@@ -506,7 +506,7 @@
506506
\ifndrxref{temp.res.general.default.but.not.found} \\
507507
If the validity or meaning of the program would be changed by considering a default argument or default
508508
template argument introduced in a declaration that is reachable from the point of instantiation of a
509-
specialization (13.8.4.1) but is not found by lookup for the specialization, the program is ill-formed, no
509+
specialization\iref{temp.point} but is not found by lookup for the specialization, the program is ill-formed, no
510510
diagnostic required.
511511

512512
\pnum
@@ -557,7 +557,7 @@
557557
\ifndrxref{temp.explicit.decl.implicit.inst} \\
558558
An entity that is the subject of
559559
an explicit instantiation declaration and that is also used in a way that would otherwise cause an implicit
560-
instantiation (13.9.2) in the translation unit shall be the subject of an explicit instantiation definition
560+
instantiation\iref{temp.inst} in the translation unit shall be the subject of an explicit instantiation definition
561561
somewhere in the program; otherwise the program is ill-formed, no diagnostic required.
562562

563563
\pnum

source/ub.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@
12621262
};
12631263

12641264
void g() {
1265-
Y y = {{1, 2}}; // OK, \tcode{y.x} is active union member\iref{11.4}
1265+
Y y = {{1, 2}}; // OK, \tcode{y.x} is active union member\iref{class.mem}
12661266
int n = y.x.a;
12671267
y.k = 4; // OK, ends lifetime of \tcode{y.x}, \tcode{y.k} is active member of union
12681268
y.x.b = n; // undefined behavior: \tcode{y.x.b} modified outside its lifetime,
@@ -1709,7 +1709,7 @@
17091709

17101710
\pnum
17111711
\ubxref{cpp.line.pptoken.not.match} \\
1712-
When using the \grammarterm{pp-token} variant of the \tcode{\#line} directive, if the directive resulting after all replacements does not match
1712+
When using the \grammarterm{pp-tokens} variant of the \tcode{\#line} directive, if the directive resulting after all replacements does not match
17131713
one of the two previous forms, the behavior is undefined.
17141714

17151715
\pnum

0 commit comments

Comments
 (0)