Skip to content

Commit 6bf61cf

Browse files
authored
Replace "could" and "might" in Annexes. (#4390)
1 parent b2df325 commit 6bf61cf

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

source/compatibility.tex

Lines changed: 9 additions & 9 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 might be revised to use \tcode{std::uncaught_exceptions} instead,
635+
to compile. It can be revised to use \tcode{std::uncaught_exceptions} instead,
636636
for clear and portable semantics.
637637

638638
\nodiffref
@@ -920,9 +920,9 @@
920920
if it has a potentially throwing dynamic exception specification,
921921
is rejected as ill-formed in this revision of \Cpp{}.
922922
Violating a non-throwing dynamic exception specification
923-
calls \tcode{terminate}
924-
rather than \tcode{unexpected}
925-
and might not perform stack unwinding prior to such a call.
923+
calls \tcode{terminate} rather than \tcode{unexpected},
924+
and it is unspecified whether stack unwinding is performed
925+
prior to such a call.
926926

927927
\rSec2[diff.cpp14.library]{\ref{library}: library introduction}
928928

@@ -1111,7 +1111,7 @@
11111111
\rationale
11121112
Required for sized deallocation.
11131113
\effect
1114-
Valid \CppXI{} code could declare a global placement allocation function and
1114+
Valid \CppXI{} code can declare a global placement allocation function and
11151115
deallocation function as follows:
11161116
\begin{codeblock}
11171117
void* operator new(std::size_t, std::size_t);
@@ -1996,7 +1996,7 @@
19961996
\effect
19971997
Deletion of semantically well-defined feature.
19981998
\difficulty
1999-
Could be automated.
1999+
Can be automated.
20002000
Violations will be diagnosed by the \Cpp{} translator.
20012001
The
20022002
fix is to add a cast.
@@ -2255,7 +2255,7 @@
22552255
Deletion of semantically well-defined feature.
22562256
\difficulty
22572257
Syntactic transformation.
2258-
Could be automated.
2258+
Can be automated.
22592259
\howwide
22602260
Common.
22612261

@@ -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 could be declared in the scope of the
2588+
struct, the struct tag can 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 could be exported to the scope of the enclosing struct.
2600+
struct can 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/future.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@
204204
as defaulted is deprecated if the class has
205205
a user-declared copy constructor or
206206
a user-declared destructor.
207-
In a future revision of \Cpp{}, these implicit definitions
208-
could become deleted\iref{dcl.fct.def.delete}.
207+
It is possible that future versions of \Cpp{} will specify
208+
that these implicit definitions are deleted\iref{dcl.fct.def.delete}.
209209

210210
\rSec1[depr.c.headers]{C headers}
211211

@@ -2757,7 +2757,7 @@
27572757
an atomic variable of static storage duration of a type that
27582758
is initialization-compatible with \tcode{value}.
27592759
\begin{note}
2760-
This operation might need to initialize locks.
2760+
This operation possibly needs to initialize locks.
27612761
\end{note}
27622762
Concurrent access to the variable being initialized,
27632763
even via an atomic operation,

0 commit comments

Comments
 (0)