Skip to content

Commit a888cfb

Browse files
committed
Revert "[everywhere] Replace "might" and "could" ...".
This reverts commit ae06f3e. We will make these changes in a more careful series of smaller commits.
1 parent 69b41bb commit a888cfb

14 files changed

+48
-50
lines changed

source/algorithms.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8586,9 +8586,8 @@
85868586

85878587
\pnum
85888588
\begin{example}
8589-
The function
85908589
\tcode{ranges::lexicographical_compare(I1, S1, I2, S2, Comp, Proj1, Proj2)}
8591-
can be implemented as:
8590+
could be implemented as:
85928591
\begin{codeblock}
85938592
for ( ; first1 != last1 && first2 != last2 ; ++first1, (void) ++first2) {
85948593
if (invoke(comp, invoke(proj1, *first1), invoke(proj2, *first2))) return true;

source/atomics.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@
770770
atomic operations applied through any other \tcode{atomic_ref}
771771
referencing the same object.
772772
\begin{note}
773-
Atomic operations or the \tcode{atomic_ref} constructor can acquire
773+
Atomic operations or the \tcode{atomic_ref} constructor could acquire
774774
a shared resource, such as a lock associated with the referenced object,
775775
to enable atomic operations to be applied to the referenced object.
776776
\end{note}

source/basic.tex

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@
15421542
\begin{footnote}
15431543
This
15441544
refers to unqualified names following the class name;
1545-
such a name can be used in a \grammarterm{base-specifier} or
1545+
such a name might be used in a \grammarterm{base-specifier} or
15461546
in the \grammarterm{member-specification} of the class definition.
15471547
\end{footnote}
15481548
outside of a complete-class context\iref{class.mem} of \tcode{X}
@@ -2859,7 +2859,7 @@
28592859
\grammarterm{using-directive}{s}
28602860
do not declare entities.
28612861
Enumerators do not have linkage,
2862-
but can serve as the name of an enumeration with linkage\iref{dcl.enum}.
2862+
but might serve as the name of an enumeration with linkage\iref{dcl.enum}.
28632863
\end{note}
28642864

28652865
\pnum
@@ -3816,7 +3816,7 @@
38163816
\impldef{any use of an invalid pointer other than to perform indirection or deallocate}
38173817
behavior.
38183818
\begin{footnote}
3819-
Implementations can define that
3819+
Some implementations might define that
38203820
copying an invalid pointer value
38213821
causes a system-generated runtime fault.
38223822
\end{footnote}
@@ -4229,7 +4229,7 @@
42294229
\begin{note}
42304230
The effect of using an invalid pointer value (including passing it to a
42314231
deallocation function) is undefined, see~\ref{basic.stc}.
4232-
This is true even if the unsafely-derived pointer value compares equal to
4232+
This is true even if the unsafely-derived pointer value might compare equal to
42334233
some safely-derived pointer value.
42344234
\end{note}
42354235
It is
@@ -4272,10 +4272,9 @@
42724272

42734273
When \tcode{D} is the type of a complete object, it will have a subobject of
42744274
type \tcode{B}, so it must be aligned appropriately for a \tcode{long double}.
4275-
If \tcode{D} appears as a base class subobject,
4276-
the alignment requirement of \tcode{B} might influence the alignment of only
4277-
the most-derived object, reducing the alignment requirements on the \tcode{D}
4278-
subobject.
4275+
If \tcode{D} appears as a subobject of another object that also has \tcode{B}
4276+
as a virtual base class, the \tcode{B} subobject might be part of a different
4277+
subobject, reducing the alignment requirements on the \tcode{D} subobject.
42794278
\end{example}
42804279
The result of the \tcode{alignof} operator reflects the alignment
42814280
requirement of the type in the complete-object case.
@@ -5331,7 +5330,7 @@
53315330
A pointer past the end of an object\iref{expr.add}
53325331
is not considered to point to an unrelated object
53335332
of the object's type
5334-
that is located at that address.
5333+
that might be located at that address.
53355334
A pointer value becomes invalid
53365335
when the storage it denotes
53375336
reaches the end of its storage duration;
@@ -5732,7 +5731,7 @@
57325731
\placeholder{B} or \placeholder{B} is sequenced before \placeholder{A}, but it is unspecified which.
57335732
\begin{note}
57345733
Indeterminately sequenced evaluations cannot overlap, but either
5735-
can be executed first.
5734+
could be executed first.
57365735
\end{note}
57375736
An expression \placeholder{X}
57385737
is said to be sequenced before
@@ -6356,7 +6355,7 @@
63566355
\begin{example}
63576356
A library I/O function that blocks until the I/O operation is complete can
63586357
be considered to continuously check whether the operation is complete. Each
6359-
such check can consist of one or more execution steps, for example using
6358+
such check might consist of one or more execution steps, for example using
63606359
observable behavior of the abstract machine.
63616360
\end{example}
63626361

source/classes.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@
837837
if that member is not a bit-field. Its
838838
address is also the same as the address of each of its base class subobjects.
839839
\begin{note}
840-
There can therefore be unnamed padding within a standard-layout struct object
840+
There might therefore be unnamed padding within a standard-layout struct object
841841
inserted by an implementation, but
842842
not at its beginning, as necessary to achieve appropriate alignment.
843843
\end{note}
@@ -3613,7 +3613,7 @@
36133613

36143614
\pnum
36153615
\begin{note}
3616-
A base class subobject can have a layout different
3616+
A base class subobject might have a layout different
36173617
from the layout of a most derived object of the same type. A base class
36183618
subobject might have a polymorphic behavior\iref{class.cdtor}
36193619
different from the polymorphic behavior of a most derived object of the
@@ -3705,7 +3705,7 @@
37053705
\end{importgraphic}
37063706

37073707
In such lattices, explicit qualification can be used to specify which
3708-
subobject is meant. The body of function \tcode{C::f} can refer to the
3708+
subobject is meant. The body of function \tcode{C::f} could refer to the
37093709
member \tcode{next} of each \tcode{L} subobject:
37103710
\begin{codeblock}
37113711
void C::f() { A::next = B::next; } // well-formed
@@ -3792,8 +3792,8 @@
37923792
\begin{footnote}
37933793
If
37943794
all virtual functions are immediate functions,
3795-
the class is still polymorphic even if
3796-
its internal representation does not otherwise require
3795+
the class is still polymorphic even though
3796+
its internal representation might not otherwise require
37973797
any additions for that polymorphic behavior.
37983798
\end{footnote}
37993799

@@ -4158,7 +4158,7 @@
41584158
\grammarterm{pure-specifier}\iref{class.mem} in the function declaration
41594159
in the class definition.
41604160
\begin{note}
4161-
Such a function can be inherited: see below.
4161+
Such a function might be inherited: see below.
41624162
\end{note}
41634163
A class is an \defnadj{abstract}{class}
41644164
if it has at least one pure virtual function.

source/compatibility.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@
632632
active, and has been superseded by \tcode{uncaught_exceptions}.
633633
\effect
634634
A valid \CppXVII{} program that calls \tcode{std::uncaught_exception} may fail
635-
to compile. It can be revised to use \tcode{std::uncaught_exceptions} instead,
635+
to compile. It might be revised to use \tcode{std::uncaught_exceptions} instead,
636636
for clear and portable semantics.
637637

638638
\nodiffref
@@ -2585,7 +2585,7 @@
25852585
\difficulty
25862586
Semantic transformation.
25872587
To make the struct type name visible in the scope of the enclosing
2588-
struct, the struct tag can be declared in the scope of the
2588+
struct, the struct tag could be declared in the scope of the
25892589
enclosing struct, before the enclosing struct is defined.
25902590
Example:
25912591
\begin{codeblock}
@@ -2597,7 +2597,7 @@
25972597

25982598
All the definitions of C struct types enclosed in other struct
25992599
definitions and accessed outside the scope of the enclosing
2600-
struct can be exported to the scope of the enclosing struct.
2600+
struct could be exported to the scope of the enclosing struct.
26012601
Note: this is a consequence of the difference in scope rules,
26022602
which is documented in \ref{basic.scope}.
26032603
\howwide

source/concepts.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@
394394
are modeled, then \tcode{T} and \tcode{U} share a
395395
\term{common reference type}, \tcode{C}.
396396
\begin{note}
397-
\tcode{C} can be the same as \tcode{T} or \tcode{U}, or can be a
397+
\tcode{C} could be the same as \tcode{T}, or \tcode{U}, or it could be a
398398
different type. \tcode{C} can be a reference type.
399399
\end{note}
400400

@@ -437,7 +437,7 @@
437437
\tcode{C}, then \tcode{T} and \tcode{U} share a \term{common type},
438438
\tcode{C}.
439439
\begin{note}
440-
\tcode{C} can be the same as \tcode{T} or \tcode{U}, or can be a
440+
\tcode{C} could be the same as \tcode{T}, or \tcode{U}, or it could be a
441441
different type. \tcode{C} might not be unique.
442442
\end{note}
443443

source/declarations.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@
12361236
Redundant cv-qualifications are ignored.
12371237
\begin{note}
12381238
For example,
1239-
these can be introduced by typedefs.
1239+
these could be introduced by typedefs.
12401240
\end{note}
12411241

12421242
\pnum
@@ -4610,7 +4610,7 @@
46104610
this is the defining declaration\iref{basic.def} of the variable,
46114611
but the initializing declaration
46124612
of a non-inline static data member\iref{class.static.data}
4613-
can be the declaration within the class definition
4613+
might be the declaration within the class definition
46144614
and not the definition at namespace scope.
46154615
\end{note}
46164616

@@ -8200,7 +8200,7 @@
82008200
\begin{note}
82018201
Some of the properties associated with an entity with language linkage
82028202
are specific to each implementation and are not described here. For
8203-
example, a particular language linkage can be associated with a
8203+
example, a particular language linkage might be associated with a
82048204
particular form of representing names of objects and functions with
82058205
external linkage, or with a particular calling convention, etc.
82068206
\end{note}
@@ -9188,6 +9188,6 @@
91889188
};
91899189
\end{codeblock}
91909190
Here, \tcode{hasher}, \tcode{pred}, and \tcode{alloc}
9191-
can have the same address as \tcode{buckets}
9191+
could have the same address as \tcode{buckets}
91929192
if their respective types are all empty.
91939193
\end{example}

source/expressions.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,7 @@
16851685
or operator template is the \grammarterm{requires-clause}
16861686
of the \grammarterm{lambda-declarator}, if any.
16871687
\begin{note}
1688-
The function call operator template for a generic lambda can be
1688+
The function call operator template for a generic lambda might be
16891689
an abbreviated function template\iref{dcl.fct}.
16901690
\end{note}
16911691
\begin{example}
@@ -2167,12 +2167,12 @@
21672167
};
21682168
}
21692169
\end{codeblock}
2170-
Within \tcode{g1}, an implementation can optimize away
2170+
Within \tcode{g1}, an implementation might optimize away
21712171
the capture of \tcode{x} as it is not odr-used.
21722172
\end{example}
21732173
\begin{note}
21742174
The set of captured entities is determined syntactically,
2175-
and entities can be implicitly captured
2175+
and entities might be implicitly captured
21762176
even if the expression denoting a local entity
21772177
is within a discarded statement\iref{stmt.if}.
21782178
\begin{example}
@@ -4319,7 +4319,7 @@
43194319
The address of an overloaded function\iref{over} can be taken
43204320
only in a context that uniquely determines which version of the
43214321
overloaded function is referred to (see~\ref{over.over}).
4322-
Since the context influences whether the operand is a static or
4322+
Since the context might determine whether the operand is a static or
43234323
non-static member function, the context can also affect whether the
43244324
expression has type ``pointer to function'' or ``pointer to member
43254325
function''.
@@ -6572,8 +6572,8 @@
65726572
and the converted operand is used in place of the original operand for
65736573
the remainder of this subclause.
65746574
\begin{note}
6575-
The conversion can be ill-formed even if an implicit conversion
6576-
sequence can be formed.
6575+
The conversion might be ill-formed even if an implicit conversion
6576+
sequence could be formed.
65776577
\end{note}
65786578

65796579
\pnum
@@ -6828,7 +6828,7 @@
68286828
\begin{note}
68296829
This restriction applies to the relationship
68306830
between the left and right sides of the assignment operation; it is not a
6831-
statement about how the target of the assignment can be aliased in general.
6831+
statement about how the target of the assignment might be aliased in general.
68326832
See~\ref{basic.lval}.
68336833
\end{note}
68346834

source/iterators.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2639,7 +2639,7 @@
26392639
\begin{example}
26402640
For a program-defined iterator
26412641
\tcode{BinaryTreeIterator},
2642-
it can be included
2642+
it could be included
26432643
into the bidirectional iterator category by specializing the
26442644
\tcode{iterator_traits}
26452645
template:

source/lib-intro.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,20 +308,20 @@
308308
Failure to meet such a condition results in the function's silent non-viability.
309309
\end{note}
310310
\begin{example}
311-
An implementation can express such a condition
311+
An implementation might express such a condition
312312
via a \grammarterm{constraint-expression}\iref{temp.constr.decl}.
313313
\end{example}
314314

315315
\item
316316
\mandates
317317
the conditions that, if not met, render the program ill-formed.
318318
\begin{example}
319-
An implementation can express such a condition
319+
An implementation might express such a condition
320320
via the \grammarterm{constant-expression}
321321
in a \grammarterm{static_assert-declaration}\iref{dcl.pre}.
322322
If the diagnostic is to be emitted only after the function
323323
has been selected by overload resolution,
324-
an implementation can express such a condition
324+
an implementation might express such a condition
325325
via a \grammarterm{constraint-expression}\iref{temp.constr.decl}
326326
and also define the function as deleted.
327327
\end{example}

0 commit comments

Comments
 (0)