Skip to content

Commit acb6275

Browse files
committed
[basic] Use past subjunctive after "as if"
1 parent 721d01c commit acb6275

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/basic.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@
837837
\begin{itemize}
838838
\item If \tcode{D} is a class with an implicitly-declared
839839
constructor\iref{class.default.ctor,class.copy.ctor},
840-
it is as if the constructor was
840+
it is as if the constructor were
841841
implicitly defined in every translation unit where it is odr-used, and the
842842
implicit definition in every translation unit shall call the same
843843
constructor for a subobject of \tcode{D}.
@@ -870,7 +870,7 @@
870870

871871
\item If \tcode{D} is a class with
872872
a defaulted three-way comparison operator function\iref{class.spaceship},
873-
it is as if the operator was
873+
it is as if the operator were
874874
implicitly defined in every translation unit where it is odr-used, and the
875875
implicit definition in every translation unit shall call the same
876876
comparison operators for each subobject of \tcode{D}.
@@ -891,7 +891,7 @@
891891
default template arguments of either \tcode{D} or
892892
an entity not defined within \tcode{D}).
893893
For each such entity and for \tcode{D} itself,
894-
the behavior is as if there is a single entity with a single definition,
894+
the behavior is as if there were a single entity with a single definition,
895895
including in the application of these requirements to other entities.
896896
\begin{note}
897897
The entity is still declared in multiple translation units, and \ref{basic.link}
@@ -921,7 +921,7 @@
921921

922922
If the definition of \tcode{f} appears in multiple translation units,
923923
the behavior of the program is as if
924-
there is only one definition of \tcode{f}.
924+
there were only one definition of \tcode{f}.
925925
If the definition of \tcode{g} appears in multiple translation units,
926926
the program is ill-formed (no diagnostic required) because
927927
each such definition uses a default argument that
@@ -2007,7 +2007,7 @@
20072007
When a class scope is searched,
20082008
the scopes of its base classes are also searched\iref{class.member.lookup}.
20092009
If it inherits from a single base,
2010-
it is as if the scope of the base immediately contains
2010+
it is as if the scope of the base immediately contained
20112011
the scope of the derived class.
20122012
Template parameter scopes
20132013
that are associated with one scope in the chain of parents
@@ -7581,7 +7581,7 @@
75817581
of the second is sequenced before the initiation of the destruction of the first.
75827582
If an object is
75837583
initialized statically, the object is destroyed in the same order as if
7584-
the object was dynamically initialized.
7584+
the object were dynamically initialized.
75857585
If the destruction of an object with static or thread storage duration
75867586
exits via an exception,
75877587
the function \tcode{std::terminate} is called\iref{except.terminate}.
@@ -7980,7 +7980,7 @@
79807980
invoked from the evaluation of a function contract assertion\iref{dcl.contract.func}
79817981
exits via an exception,
79827982
the behavior is as if
7983-
the function body exits via that same exception.
7983+
the function body exited via that same exception.
79847984
\begin{note}
79857985
A \grammarterm{function-try-block}\iref{except.pre}
79867986
is the function body when present

0 commit comments

Comments
 (0)