Skip to content

[temp.expl.spec] Use normal spacing after "etc." within a sentence #6156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@
\begin{note}
Overload resolution can consider potentially conflicting declarations
found in multiple scopes
(e.g. via \grammarterm{using-directive}s or for operator functions),
(e.g., via \grammarterm{using-directive}s or for operator functions),
in which case it is often ambiguous.
\end{note}
\begin{example}
Expand Down
2 changes: 1 addition & 1 deletion source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@
\pnum
\returns
\tcode{distance(c.begin(), c.end())},
i.e. the number of elements in the container.
i.e., the number of elements in the container.

\pnum
\complexity
Expand Down
2 changes: 1 addition & 1 deletion source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6300,7 +6300,7 @@
is implicitly defined at the point where it is explicitly defaulted; if such a function is implicitly
defined as deleted, the program is ill-formed.
A non-user-provided defaulted function
(i.e. implicitly declared or explicitly defaulted in the class)
(i.e., implicitly declared or explicitly defaulted in the class)
that is not defined as deleted is implicitly defined when it is odr-used\iref{basic.def.odr}
or needed for constant evaluation\iref{expr.const}.
\begin{note}
Expand Down
4 changes: 2 additions & 2 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
that does not denote an object of type \cv{}~\keyword{U} within its lifetime,
the behavior is undefined.
\begin{note}
In C, an entire object of structure type can be accessed, e.g. using assignment.
In C, an entire object of structure type can be accessed, e.g., using assignment.
By contrast, \Cpp{} has no notion of accessing an object of class type
through an lvalue of class type.
\end{note}
Expand Down Expand Up @@ -7262,7 +7262,7 @@
\pnum
\begin{note}
In contexts where the comma token is given special meaning
(e.g. function calls\iref{expr.call},
(e.g., function calls\iref{expr.call},
subscript expressions\iref{expr.sub},
lists of initializers\iref{dcl.init},
or \grammarterm{template-argument-list}{s}\iref{temp.names}),
Expand Down
2 changes: 1 addition & 1 deletion source/styles.tex
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
\ifvmode\else\par\fi\lst@emptylinepenalty
\vskip\parskip
\vskip\baselineskip
% \lsthk@EveryLine has \lst@parshape, i.e. \parshape, which causes an \hbox
% \lsthk@EveryLine has \lst@parshape, i.e., \parshape, which causes an \hbox
% \lsthk@EveryPar increments line counters; \refstepcounter balloons the PDF
\global\advance\lst@newlines\m@ne
\lst@newlinetrue}
Expand Down
3 changes: 1 addition & 2 deletions source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1155,8 +1155,7 @@
For integer types, specifies the base of the
representation.
\begin{footnote}
Distinguishes types with bases other than 2 (e.g.
BCD).
Distinguishes types with bases other than 2 (e.g., BCD).
\end{footnote}

\pnum
Expand Down
2 changes: 1 addition & 1 deletion source/tables.tex
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

% General Usage: TITLE is the title of the table, XREF is the
% cross-reference for the table. LAYOUT is a sequence of column
% type specifiers (e.g. cp{1.0}c), without '|' for the left edge
% type specifiers (e.g., cp{1.0}c), without '|' for the left edge
% or right edge.

% usage: \begin{floattablebase}{TITLE}{XREF}{LAYOUT}{PLACEMENT}
Expand Down
4 changes: 2 additions & 2 deletions source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2840,7 +2840,7 @@
\begin{itemize}
\item
% Note: "\space" used below because " " inside tcode adds too much whitespace;
% one could optionally use mathfont inside tcode, e.g. "\tcode{($ $}".
% one could optionally use mathfont inside tcode, e.g., "\tcode{($ $}".
\tcode{(}\space
\tcode{((}$\mathtt{E}_1$
\placeholder{op} $\mathtt{E}_2$\tcode{)}
Expand Down Expand Up @@ -6436,7 +6436,7 @@
The definition of an explicitly specialized class is unrelated to the
definition of a generated specialization.
That is, its members need
not have the same names, types, etc. as the members of a generated
not have the same names, types, etc.\ as the members of a generated
specialization.
Members of an explicitly specialized
class template are defined in the same manner as members of normal classes, and
Expand Down
6 changes: 3 additions & 3 deletions source/time.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10560,7 +10560,7 @@
to format as a \tcode{weekday}.
\end{example}
However, if a flag refers to a ``time of day''
(e.g. \tcode{\%H}, \tcode{\%I}, \tcode{\%p}, etc.),
(e.g., \tcode{\%H}, \tcode{\%I}, \tcode{\%p}, etc.),
then a specialization of \tcode{duration} is interpreted as
the time of day elapsed since midnight.

Expand Down Expand Up @@ -11174,7 +11174,7 @@
A \tcode{duration} cannot represent a \tcode{weekday}.
\end{example}
However, if a flag refers to a ``time of day''
(e.g. \tcode{\%H}, \tcode{\%I}, \tcode{\%p}, etc.),
(e.g., \tcode{\%H}, \tcode{\%I}, \tcode{\%p}, etc.),
then a specialization of \tcode{duration} is parsed as
the time of day elapsed since midnight.

Expand Down Expand Up @@ -11401,7 +11401,7 @@
\tcode{\%y} &
The last two decimal digits of the year.
If the century is not otherwise specified
(e.g. with \tcode{\%C}),
(e.g., with \tcode{\%C}),
values in the range \crange{69}{99}
are presumed to refer to the years 1969 to 1999,
and values in the range \crange{00}{68}
Expand Down