File tree Expand file tree Collapse file tree 8 files changed +22
-23
lines changed Expand file tree Collapse file tree 8 files changed +22
-23
lines changed Original file line number Diff line number Diff line change 641
641
642
642
\pnum
643
643
\recommended
644
- Operations that are lock-free should also be address-free
644
+ Operations that are lock-free should also be address-free.
645
645
\begin {footnote }
646
646
That is,
647
647
atomic operations on the same memory location via two different addresses will
648
648
communicate atomically.
649
- \end {footnote }.
649
+ \end {footnote }
650
650
The implementation of these operations should not depend on any per-process state.
651
651
\begin {note }
652
652
This restriction enables communication by memory that is
Original file line number Diff line number Diff line change 171
171
Appearing inside the brace-enclosed
172
172
\grammarterm {declaration-seq} in a \grammarterm {linkage-specification} does
173
173
not affect whether a declaration is a definition.
174
- \end {footnote }%
174
+ \end {footnote }
175
175
\iref {dcl.link }
176
176
and neither an \grammarterm {initializer} nor a
177
177
\grammarterm {function-body},
3950
3950
\item
3951
3951
optionally, a parameter of type \tcode {std::destroying_delete_t}, then
3952
3952
\item
3953
- optionally, a parameter of type \tcode {std::size_t}
3953
+ optionally, a parameter of type \tcode {std::size_t},
3954
3954
\begin {footnote }
3955
3955
The global \tcode {operator delete(void*, std::size_t)}
3956
3956
precludes use of an
3957
3957
allocation function \tcode {void operator new(std::size_t, std::size_t)} as a placement
3958
3958
allocation function~(\ref {diff.cpp11.basic }).
3959
- \end {footnote }%
3960
- , then
3959
+ \end {footnote }
3960
+ then
3961
3961
\item
3962
3962
optionally, a parameter of type \tcode {std::align_val_t}.
3963
3963
\end {itemize }
Original file line number Diff line number Diff line change 7054
7054
of $ E$ ;
7055
7055
7056
7056
\item
7057
- an invocation of a non-constexpr function
7057
+ an invocation of a non-constexpr function;
7058
7058
\begin {footnote }
7059
7059
Overload resolution\iref {over.match }
7060
7060
is applied as usual.
7061
- \end {footnote };
7061
+ \end {footnote }
7062
7062
7063
7063
\item
7064
7064
an invocation of an undefined constexpr function;
7082
7082
7083
7083
\item
7084
7084
an operation that would have undefined behavior
7085
- as specified in \ref {intro } through \ref {cpp }
7085
+ as specified in \ref {intro } through \ref {cpp };
7086
7086
\begin {footnote }
7087
7087
This includes,
7088
7088
for example, signed integer overflow\iref {expr.prop }, certain
7089
7089
pointer arithmetic\iref {expr.add }, division by
7090
7090
zero\iref {expr.mul }, or certain shift operations\iref {expr.shift }.
7091
- \end {footnote };
7091
+ \end {footnote }
7092
7092
7093
7093
\item
7094
7094
an lvalue-to-rvalue conversion\iref {conv.lval } unless
Original file line number Diff line number Diff line change 2665
2665
2666
2666
\pnum
2667
2667
\returns
2668
- \tcode {str}
2668
+ \tcode {str}.
2669
2669
\begin {footnote }
2670
2670
The function signature
2671
2671
\tcode {dec(ios_base\& )}
2676
2676
\tcode {cout << dec}
2677
2677
to change the format flags stored in
2678
2678
\tcode {cout}.
2679
- \end {footnote }%
2680
- .
2679
+ \end {footnote }
2681
2680
\end {itemdescr }
2682
2681
2683
2682
\indexlibraryglobal {hex}%
3669
3668
\begin {itemdecl }
3670
3669
streamsize showmanyc();@
3671
3670
\begin {footnote }
3672
- \textrm {The morphemes of \tcode {showmanyc}\
3673
- are `` es-how-many-see'' , not `` show-manic'' .}
3671
+ The morphemes of \tcode {showmanyc} are `` es-how-many-see'' , not `` show-manic'' .
3674
3672
\end {footnote }@
3675
3673
\end {itemdecl }
3676
3674
Original file line number Diff line number Diff line change 4074
4074
using iterator = const_iterator;@
4075
4075
\begin {footnote }
4076
4076
Because \tcode {basic_string_view} refers to a constant sequence, \tcode {iterator} and \tcode {const_iterator} are the same type.
4077
- \end {footnote }%
4078
- @
4077
+ \end {footnote }@
4079
4078
using const_reverse_iterator = reverse_iterator<const_iterator>;
4080
4079
using reverse_iterator = const_reverse_iterator;
4081
4080
using size_type = size_t;
Original file line number Diff line number Diff line change 304
304
is required to work as specified even if unary
305
305
\tcode {operator\& }
306
306
is overloaded for any of the types involved.
307
- \end {footnote }\space
307
+ \end {footnote }
308
308
The expression \tcode {offsetof(\placeholder {type}, \placeholder {member-designator})}
309
309
is never type-dependent\iref {temp.dep.expr } and it is
310
310
value-dependent\iref {temp.dep.constexpr } if and only if \tcode {\placeholder {type}} is
1293
1293
\pnum
1294
1294
\tcode {denorm_present}
1295
1295
if the type allows subnormal values
1296
- (variable number of exponent bits)
1296
+ (variable number of exponent bits),
1297
1297
\begin {footnote }
1298
1298
Required by LIA-1.
1299
- \end {footnote },
1299
+ \end {footnote }
1300
1300
\tcode {denorm_absent}
1301
1301
if the type does not allow subnormal values,
1302
1302
and
Original file line number Diff line number Diff line change 4349
4349
\begin {itemize }
4350
4350
\item \grammarterm {simple-declaration} or a \grammarterm {function-definition} in namespace scope,
4351
4351
\item \grammarterm {member-declaration},
4352
- \item \grammarterm {parameter-declaration} in a \grammarterm {member-declaration}
4352
+ \item \grammarterm {parameter-declaration} in a \grammarterm {member-declaration},
4353
4353
\begin {footnote }
4354
4354
This includes friend function declarations.
4355
- \end {footnote }%
4356
- ,
4355
+ \end {footnote }
4357
4356
unless that \grammarterm {parameter-declaration} appears in a default argument,
4358
4357
\item \grammarterm {parameter-declaration} in a \grammarterm {declarator}
4359
4358
of a function or function template declaration
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ for f in $texfiles; do
32
32
awk ' prev == $0 && /^\\pnum/ { print FILENAME ":" FNR ": duplicate \\pnum on consecutive lines" } { prev = $0 }' $f
33
33
done | grep . && exit 1
34
34
35
+ # punctuation after the footnote marker
36
+ grep -n " \\ end{footnote" $texfiles | grep -v ' }[@)%]\?$' && exit 1
37
+
35
38
# \opt used incorrectly.
36
39
grep -n ' \\opt[^{]' $texfiles && exit 1
37
40
grep -n ' opt{}' * .tex && exit 1
You can’t perform that action at this time.
0 commit comments