Skip to content

Commit 538f7c6

Browse files
Eelisjensmaurer
authored andcommitted
[std] Add/fix periods at end of sentences. (#3177)
1 parent 5b26ba5 commit 538f7c6

File tree

11 files changed

+21
-21
lines changed

11 files changed

+21
-21
lines changed

source/algorithms.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3132,7 +3132,7 @@
31323132
\begin{itemdescr}
31333133
\pnum
31343134
\requires
3135-
\tcode{Function} shall meet the \oldconcept{MoveConstructible} requirements
3135+
\tcode{Function} shall meet the \oldconcept{MoveConstructible} requirements.
31363136
\begin{note}
31373137
\tcode{Function} need not meet
31383138
the requirements of \oldconcept{CopyConstructible}.
@@ -5304,7 +5304,7 @@
53045304
\returns
53055305
\begin{itemize}
53065306
\item \tcode{result + $N$} for the overloads in namespace \tcode{std}, or
5307-
\item \tcode{\{last, result + $N$\}} for the overloads in namespace \tcode{ranges}
5307+
\item \tcode{\{last, result + $N$\}} for the overloads in namespace \tcode{ranges}.
53085308
\end{itemize}
53095309

53105310
\pnum
@@ -6849,7 +6849,7 @@
68496849
An iterator \tcode{mid}
68506850
such that $E(\tcode{*i})$ is \tcode{true}
68516851
for all iterators \tcode{i} in \range{first}{mid}, and
6852-
\tcode{false} for all iterators \tcode{i} in \range{mid}{last}
6852+
\tcode{false} for all iterators \tcode{i} in \range{mid}{last}.
68536853

68546854
\pnum
68556855
\complexity

source/classes.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4162,7 +4162,7 @@
41624162
\end{example}
41634163
\begin{note}
41644164
A function declaration cannot provide both a \grammarterm{pure-specifier}
4165-
and a definition
4165+
and a definition.
41664166
\end{note}
41674167
\begin{example}
41684168
\begin{codeblock}

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3310,7 +3310,7 @@
33103310
The value of a postfix \tcode{++} expression is the value of its
33113311
operand.
33123312
\begin{note}
3313-
The value obtained is a copy of the original value
3313+
The value obtained is a copy of the original value.
33143314
\end{note}
33153315
The operand shall be a modifiable lvalue. The type of the operand shall
33163316
be an arithmetic type other than \cv{}~\tcode{bool},

source/iostreams.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3754,7 +3754,7 @@
37543754
call this virtual function only if
37553755
\tcode{gptr()}
37563756
is null or
3757-
\tcode{gptr() >= egptr()}
3757+
\tcode{gptr() >= egptr()}.
37583758

37593759
\pnum
37603760
\returns
@@ -4529,7 +4529,7 @@
45294529
During preparation, the constructor may call
45304530
\tcode{setstate(failbit)}
45314531
(which may throw
4532-
\tcode{ios_base::\brk{}failure}\iref{iostate.flags})\footnote{The
4532+
\tcode{ios_base::\brk{}failure}\iref{iostate.flags}).\footnote{The
45334533
\tcode{sentry}
45344534
constructor and destructor
45354535
can also perform additional
@@ -4974,7 +4974,7 @@
49744974
Otherwise, the function calls
49754975
\tcode{setstate(failbit)},
49764976
which may throw
4977-
\tcode{ios_base::failure}\iref{iostate.flags},
4977+
\tcode{ios_base::failure}\iref{iostate.flags}.
49784978

49794979
\pnum
49804980
\returns
@@ -6064,7 +6064,7 @@
60646064
During preparation, the constructor may call
60656065
\tcode{setstate(failbit)}
60666066
(which may throw
6067-
\tcode{ios_base::\brk{}failure}\iref{iostate.flags})\footnote{The
6067+
\tcode{ios_base::\brk{}failure}\iref{iostate.flags}).\footnote{The
60686068
\tcode{sentry}
60696069
constructor and destructor
60706070
can also perform additional
@@ -14803,7 +14803,7 @@
1480314803
\pnum
1480414804
\begin{note} By default, \tcode{recursive_directory_iterator} does not
1480514805
follow directory symlinks. To follow directory symlinks, specify \tcode{options} as
14806-
\tcode{directory_options::follow_directory_symlink} \end{note}
14806+
\tcode{directory_options::follow_directory_symlink}. \end{note}
1480714807
\end{itemdescr}
1480814808

1480914809
\indexlibrary{\idxcode{recursive_directory_iterator}!constructor}%
@@ -15942,7 +15942,7 @@
1594215942
\returns \tcode{is_regular_file(status(p))}.
1594315943

1594415944
\pnum
15945-
\throws \tcode{filesystem_error} if \tcode{status(p)} would throw \tcode{filesystem_error.}
15945+
\throws \tcode{filesystem_error} if \tcode{status(p)} would throw \tcode{filesystem_error}.
1594615946
\end{itemdescr}
1594715947

1594815948
\indexlibrary{\idxcode{is_regular_file}}%

source/lib-intro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2594,7 +2594,7 @@
25942594
\item \indexlibrary{\idxcode{open_mode}!zombie} \tcode{open_mode},
25952595
\item \indexlibrary{\idxcode{second_argument_type}!zombie} \tcode{second_argument_type},
25962596
and
2597-
\item \indexlibrary{\idxcode{seek_dir}!zombie} \tcode{seek_dir},
2597+
\item \indexlibrary{\idxcode{seek_dir}!zombie} \tcode{seek_dir}.
25982598
\end{itemize}
25992599

26002600
\pnum

source/regex.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@
12031203
takes, nor how it is accessed by algorithms that operate on regular
12041204
expressions. \begin{note} Implementations will typically declare
12051205
some function templates as friends of \tcode{basic_regex} to achieve
1206-
this \end{note}
1206+
this. \end{note}
12071207

12081208
\pnum
12091209
\indexlibrary{\idxcode{regex_error}}%
@@ -3299,7 +3299,7 @@
32993299
\begin{note} For a suffix iterator, data
33003300
member \tcode{suffix.first} is the same as the end of the last match
33013301
found, and \tcode{suffix\brk.second} is the same as the end of the target
3302-
sequence \end{note}
3302+
sequence. \end{note}
33033303

33043304
\pnum
33053305
The \textit{current match} is \tcode{(*position).prefix()} if \tcode{subs[N] == -1}, or

source/support.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3110,7 +3110,7 @@
31103110
\remarks
31113111
The message may be a null-terminated multibyte string\iref{multibyte.strings},
31123112
suitable for conversion and display as a
3113-
\tcode{wstring}~(\ref{string.classes}, \ref{locale.codecvt})
3113+
\tcode{wstring}~(\ref{string.classes}, \ref{locale.codecvt}).
31143114
\end{itemdescr}
31153115

31163116
\rSec2[bad.cast]{Class \tcode{bad_cast}}

source/templates.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7938,7 +7938,7 @@
79387938
\item
79397939
If the original \tcode{A} is a reference type,
79407940
\tcode{A} can be more cv-qualified than the deduced \tcode{A}
7941-
(i.e., the type referred to by the reference)
7941+
(i.e., the type referred to by the reference).
79427942
\item
79437943
If the original \tcode{A} is a function pointer type,
79447944
\tcode{A} can be ``pointer to function''

source/threads.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3691,7 +3691,7 @@
36913691

36923692
\begin{itemdescr}
36933693
\pnum
3694-
\requires Each template parameter type shall meet the \oldconcept{Lockable} requirements,
3694+
\requires Each template parameter type shall meet the \oldconcept{Lockable} requirements.
36953695
\begin{note} The
36963696
\tcode{unique_lock} class template meets these requirements when suitably instantiated.
36973697
\end{note}

source/time.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6395,7 +6395,7 @@
63956395
which efficiently supports \tcode{days}-oriented arithmetic.
63966396
\end{note}
63976397
\tcode{year_month_day_last} is \oldconcept{EqualityComparable} (\tref{cpp17.equalitycomparable})
6398-
and \oldconcept{LessThanComparable} (\tref{cpp17.lessthancomparable}),
6398+
and \oldconcept{LessThanComparable} (\tref{cpp17.lessthancomparable}).
63996399

64006400
\pnum
64016401
\tcode{year_month_day_last} is a trivially copyable and standard-layout class type.

0 commit comments

Comments
 (0)