Skip to content

Commit 05911ab

Browse files
committed
Fixup: Remove 'should' and 'may' from footnotes.
More situations; this should be squashed when applying. This is separate to allow separate review.
1 parent 5cbf68a commit 05911ab

12 files changed

+21
-21
lines changed

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@
15311531
A name used in the definition of a class \tcode{X}%
15321532
\footnote{This
15331533
refers to unqualified names following the class name;
1534-
such a name may be used in a \grammarterm{base-specifier} or
1534+
such a name might be used in a \grammarterm{base-specifier} or
15351535
in the \grammarterm{member-specification} of the class definition.}
15361536
outside of a complete-class context\iref{class.mem} of \tcode{X}
15371537
shall be declared in one of the following ways:

source/containers.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5849,7 +5849,7 @@
58495849
\throws
58505850
\tcode{length_error} if \tcode{n >
58515851
max_size()}.\footnote{\tcode{reserve()} uses \tcode{Allocator::allocate()} which
5852-
may throw an appropriate exception.}
5852+
can throw an appropriate exception.}
58535853

58545854
\pnum
58555855
\remarks

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7594,7 +7594,7 @@
75947594
An ambiguity exists if the best match finds two functions with the same
75957595
signature, even if one is in a namespace reachable through
75967596
\grammarterm{using-directive}{s} in the namespace of the other.\footnote{During
7597-
name lookup in a class hierarchy, some ambiguities may be
7597+
name lookup in a class hierarchy, some ambiguities can be
75987598
resolved by considering whether one member hides the other along some
75997599
paths\iref{class.member.lookup}. There is no such disambiguation when
76007600
considering the set of names found as a result of following

source/expressions.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
whose type is not similar\iref{conv.qual} to
293293
one of the following types the behavior is
294294
undefined:\footnote{The intent of this list is to specify those circumstances in which an
295-
object may or may not be aliased.}
295+
object can or cannot be aliased.}
296296
\begin{itemize}
297297
\item the dynamic type of the object,
298298

@@ -4570,7 +4570,7 @@
45704570
potentially-overlapping subobject is
45714571
the size of the type, not the size of the subobject.%
45724572
\footnote{The actual size of a potentially-overlapping subobject
4573-
may be less than the result of
4573+
can be less than the result of
45744574
applying \tcode{sizeof} to the subobject, due to virtual base classes
45754575
and less strict padding requirements on potentially-overlapping subobjects.}
45764576
\indextext{array!\idxcode{sizeof}}%
@@ -7310,7 +7310,7 @@
73107310
that is usable in constant expressions or
73117311
has constant initialization\iref{basic.start.static}.%
73127312
\footnote{Testing this condition
7313-
may involve a trial evaluation of its initializer as described above.}
7313+
might involve a trial evaluation of its initializer as described above.}
73147314
\begin{example}
73157315
\begin{codeblock}
73167316
template<bool> struct X {};

source/iostreams.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3044,7 +3044,7 @@
30443044
Initializes:\footnote{The default constructor is protected for class
30453045
\tcode{basic_streambuf}
30463046
to assure that only objects for classes
3047-
derived from this class may be constructed.}
3047+
derived from this class can be constructed.}
30483048
\begin{itemize}
30493049
\item
30503050
all pointer member objects to null pointers,

source/iterators.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@
596596
that designate the beginning and end of the computation, or an iterator and a
597597
count that designate the beginning and the number of elements to which the
598598
computation is to be applied.\footnote{The sentinel denoting the end of a range
599-
may have the same type as the iterator denoting the beginning of the range, or a
599+
can have the same type as the iterator denoting the beginning of the range, or a
600600
different type.}
601601

602602
\pnum

source/lex.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,9 +637,9 @@
637637
specified in \tref{lex.name.disallowed}.
638638
Upper- and lower-case letters are
639639
different. All characters are significant.\footnote{On systems in which linkers cannot accept extended
640-
characters, an encoding of the \grammarterm{universal-character-name} may be used in
640+
characters, an encoding of the \grammarterm{universal-character-name} can be used in
641641
forming valid external identifiers. For example, some otherwise unused
642-
character or sequence of characters may be used to encode the
642+
character or sequence of characters can be used to encode the
643643
\tcode{\textbackslash u} in a \grammarterm{universal-character-name}. Extended
644644
characters may produce a long external identifier, but \Cpp{} does not
645645
place a translation limit on significant characters for external

source/lib-intro.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@
851851
or namespaces nested within namespace
852852
\tcode{std}.\footnote{The C standard library headers\iref{depr.c.headers} also define
853853
names within the global namespace, while the \Cpp{} headers for C library
854-
facilities\iref{headers} may also define names within the global namespace.}%
854+
facilities\iref{headers} can also define names within the global namespace.}%
855855
\indextext{namespace}
856856
It is unspecified whether names declared in a specific namespace are declared
857857
directly in that namespace or in an inline namespace inside that
@@ -2209,7 +2209,7 @@
22092209
that meets the minimum requirements
22102210
of this document.
22112211
Therefore
2212-
an implementation may elect,
2212+
an implementation can elect,
22132213
under the as-if rule\iref{intro.execution},
22142214
to provide any customization point
22152215
in the form
@@ -2775,7 +2775,7 @@
27752775
described in \ref{\firstlibchapter} through \ref{\lastlibchapter} and
27762776
\ref{depr} shall behave as if the implementation declared no additional
27772777
non-member function signatures.\footnote{A valid \Cpp{} program always
2778-
calls the expected library non-member function. An implementation may
2778+
calls the expected library non-member function. An implementation can
27792779
also define additional non-member functions that would otherwise not
27802780
be called by a valid \Cpp{} program.}
27812781

source/locales.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2153,8 +2153,8 @@
21532153
constant number of \tcode{externT} characters needed to produce an internal
21542154
character; or \tcode{0} if this number is not a constant.\footnote{If \tcode{encoding()}
21552155
yields \tcode{-1}, then more than \tcode{max_length()} \tcode{externT} elements
2156-
may be consumed when producing a single \tcode{internT} character, and additional
2157-
\tcode{externT} elements may appear at the end of a sequence after those that
2156+
can be consumed when producing a single \tcode{internT} character, and additional
2157+
\tcode{externT} elements can appear at the end of a sequence after those that
21582158
yield the final \tcode{internT} character.}
21592159
\end{itemdescr}
21602160

@@ -3749,7 +3749,7 @@
37493749
An enumeration value indicating the preferred order of components for
37503750
those date formats that are composed of day, month, and year.\footnote{This
37513751
function is intended as a convenience only, for common
3752-
formats, and may return
3752+
formats, and can return
37533753
\tcode{no_order}
37543754
in valid locales.}
37553755
Returns

source/modules.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@
526526
non-exported \grammarterm{module-import-declaration}{s}
527527
in the module unit purview of $U$.\footnote{This is consistent
528528
with the rules for visibility of imported names\iref{basic.scope.namespace}.}
529-
These rules may in turn lead to the importation of yet more
529+
These rules can in turn lead to the importation of yet more
530530
translation units.
531531

532532
\pnum

source/numerics.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2315,7 +2315,7 @@
23152315
\tcode{E(q)}%
23162316
\indextext{constructor!random number engine requirement}\footnote{ This constructor
23172317
(as well as the subsequent corresponding \tcode{seed()} function)
2318-
may be particularly useful
2318+
can be particularly useful
23192319
to applications requiring
23202320
a large number of independent random sequences.
23212321
}
@@ -7124,7 +7124,7 @@
71247124
that has zero length.\footnote{This default constructor is essential,
71257125
since arrays of
71267126
\tcode{valarray}
7127-
may be useful.
7127+
can be useful.
71287128
After initialization, the length of an empty array can be increased with the
71297129
\tcode{resize}
71307130
member function.}
@@ -8175,7 +8175,7 @@
81758175
Such a slice is specified by a starting index, a length, and a
81768176
stride.\footnote{BLAS stands for
81778177
\textit{Basic Linear Algebra Subprograms.}
8178-
\Cpp{} programs may instantiate this class.
8178+
\Cpp{} programs can instantiate this class.
81798179
See, for example,
81808180
Dongarra, Du Croz, Duff, and Hammerling:
81818181
\textit{A set of Level 3 Basic Linear Algebra Subprograms};

source/overloading.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@
12331233
is applied to the value returned, with the original second
12341234
operand.\footnote{If the value returned by the
12351235
\tcode{\keyword{operator}->}
1236-
function has class type, this may result in selecting and calling another
1236+
function has class type, this can result in selecting and calling another
12371237
\tcode{\keyword{operator}->}
12381238
function.
12391239
The process repeats until an

0 commit comments

Comments
 (0)