Skip to content

Commit bffe678

Browse files
jensmaurerzygoloid
authored andcommitted
[lib] Remove 'Constructs an object of type ...' phrases
for constructors; this effect is implied by the core language. Only simple phrases are removed; more complex sentence structures are left unchanged.
1 parent 739c4d4 commit bffe678

File tree

4 files changed

+31
-63
lines changed

4 files changed

+31
-63
lines changed

source/future.tex

Lines changed: 14 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -543,10 +543,7 @@
543543
\begin{itemdescr}
544544
\pnum
545545
\effects
546-
Constructs an object of class
547-
\tcode{strstreambuf},
548-
initializing the base class with
549-
\tcode{streambuf()}.
546+
Initializes the base class with \tcode{streambuf()}.
550547
The postconditions of this function are indicated in \tref{depr.strstreambuf.cons.sz}.
551548
\end{itemdescr}
552549

@@ -567,10 +564,7 @@
567564
\begin{itemdescr}
568565
\pnum
569566
\effects
570-
Constructs an object of class
571-
\tcode{strstreambuf},
572-
initializing the base class with
573-
\tcode{streambuf()}.
567+
Initializes the base class with \tcode{streambuf()}.
574568
The postconditions of this function are indicated in \tref{depr.strstreambuf.cons.alloc}.
575569

576570
\begin{libtab2}{\tcode{strstreambuf(void* (*)(size_t), void (*)(void*))} effects}
@@ -597,10 +591,7 @@
597591
\begin{itemdescr}
598592
\pnum
599593
\effects
600-
Constructs an object of class
601-
\tcode{strstreambuf},
602-
initializing the base class with
603-
\tcode{streambuf()}.
594+
Initializes the base class with \tcode{streambuf()}.
604595
The postconditions of this function are indicated in \tref{depr.strstreambuf.cons.ptr}.
605596

606597
\begin{libtab2}{\tcode{strstreambuf(charT*, streamsize, charT*)} effects}
@@ -1096,12 +1087,8 @@
10961087
\begin{itemdescr}
10971088
\pnum
10981089
\effects
1099-
Constructs an object of class
1100-
\tcode{istrstream},
1101-
initializing the base class with
1102-
\tcode{istream(\&sb)}
1103-
and initializing \tcode{sb} with
1104-
\tcode{strstreambuf(s,0)}.
1090+
Initializes the base class with \tcode{istream(\&sb)} and
1091+
\tcode{sb} with \tcode{strstreambuf(s, 0)}.
11051092
\tcode{s} shall designate the first element of an \ntbs{}.%
11061093
\indextext{NTBS}
11071094
\end{itemdescr}
@@ -1115,12 +1102,8 @@
11151102
\begin{itemdescr}
11161103
\pnum
11171104
\effects
1118-
Constructs an object of class
1119-
\tcode{istrstream},
1120-
initializing the base class with
1121-
\tcode{istream(\&sb)}
1122-
and initializing \tcode{sb} with
1123-
\tcode{strstreambuf(s,n)}.
1105+
Initializes the base class with \tcode{istream(\&sb)}
1106+
and \tcode{sb} with \tcode{strstreambuf(s, n)}.
11241107
\tcode{s} shall designate the first element of an array whose length is
11251108
\tcode{n} elements, and \tcode{n} shall be greater than zero.
11261109
\end{itemdescr}
@@ -1195,12 +1178,8 @@
11951178
\begin{itemdescr}
11961179
\pnum
11971180
\effects
1198-
Constructs an object of class
1199-
\tcode{ostrstream},
1200-
initializing the base class with
1201-
\tcode{ostream(\&sb)}
1202-
and initializing \tcode{sb} with
1203-
\tcode{strstreambuf()}.
1181+
Initializes the base class with \tcode{ostream(\&sb)} and
1182+
\tcode{sb} with \tcode{strstreambuf()}.
12041183
\end{itemdescr}
12051184

12061185
\indexlibraryctor{ostrstream}%
@@ -1211,11 +1190,8 @@
12111190
\begin{itemdescr}
12121191
\pnum
12131192
\effects
1214-
Constructs an object of class
1215-
\tcode{ostrstream},
1216-
initializing the base class with
1217-
\tcode{ostream(\&sb)},
1218-
and initializing \tcode{sb} with one of two constructors:
1193+
Initializes the base class with \tcode{ostream(\&sb)},
1194+
and \tcode{sb} with one of two constructors:
12191195

12201196
\begin{itemize}
12211197
\item
@@ -1343,10 +1319,7 @@
13431319
\begin{itemdescr}
13441320
\pnum
13451321
\effects
1346-
Constructs an object of class
1347-
\tcode{strstream},
1348-
initializing the base class with
1349-
\tcode{iostream(\&sb)}.
1322+
Initializes the base class with \tcode{iostream(\&sb)}.
13501323
\end{itemdescr}
13511324

13521325
\indexlibraryctor{strstream}%
@@ -1358,11 +1331,8 @@
13581331
\begin{itemdescr}
13591332
\pnum
13601333
\effects
1361-
Constructs an object of class
1362-
\tcode{strstream},
1363-
initializing the base class with
1364-
\tcode{iostream(\&sb)}
1365-
and initializing \tcode{sb} with one of the two constructors:
1334+
Initializes the base class with \tcode{iostream(\&sb)},
1335+
and \tcode{sb} with one of the two constructors:
13661336
\begin{itemize}
13671337
\item
13681338
If

source/iostreams.tex

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3038,7 +3038,7 @@
30383038
derived from this class may be constructed.}
30393039
\begin{itemize}
30403040
\item
3041-
all its pointer member objects to null pointers,
3041+
all pointer member objects to null pointers,
30423042
\item
30433043
the
30443044
\tcode{getloc()}
@@ -5616,8 +5616,7 @@
56165616
\begin{itemdescr}
56175617
\pnum
56185618
\effects
5619-
Constructs an object of class \tcode{basic_iostream},
5620-
initializing the base class subobjects with
5619+
Initializes the base class subobjects with
56215620
\tcode{basic_istream<charT, traits>(sb)}\iref{istream}
56225621
and
56235622
\tcode{basic_ostream<charT, traits>(sb)}\iref{ostream}.
@@ -5885,8 +5884,7 @@
58855884
\begin{itemdescr}
58865885
\pnum
58875886
\effects
5888-
Constructs an object of class
5889-
\tcode{basic_ostream}, initializing the base class subobject with
5887+
Initializes the base class subobject with
58905888
\tcode{basic_ios<charT, traits>::init(sb)}\iref{basic.ios.cons}.
58915889

58925890
\pnum
@@ -14172,8 +14170,7 @@
1417214170
\begin{itemdescr}
1417314171
\pnum
1417414172
\effects
14175-
Constructs an object of type \tcode{directory_entry},
14176-
then \tcode{refresh()} or \tcode{refresh(ec)}, respectively.
14173+
Calls \tcode{refresh()} or \tcode{refresh(ec)}, respectively.
1417714174

1417814175
\pnum
1417914176
\ensures

source/numerics.tex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@
449449
\end{itemdecl}
450450

451451
\begin{itemdescr}
452-
453452
\pnum
454453
\ensures
455454
\tcode{real() == re \&\& imag() == im} is \tcode{true}.

source/utilities.tex

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5805,9 +5805,7 @@
58055805
\begin{itemdescr}
58065806
\pnum
58075807
\effects
5808-
Constructs an object of class
5809-
\tcode{bitset<N>},
5810-
initializing all bits to zero.
5808+
Initializes all bits in \tcode{*this} to zero.
58115809
\end{itemdescr}
58125810

58135811
\indexlibraryctor{bitset}%
@@ -5818,9 +5816,7 @@
58185816
\begin{itemdescr}
58195817
\pnum
58205818
\effects
5821-
Constructs an object of class
5822-
\tcode{bitset<N>},
5823-
initializing the first \tcode{M} bit positions to the corresponding bit
5819+
Initializes the first \tcode{M} bit positions to the corresponding bit
58245820
values in \tcode{val}.
58255821
\tcode{M} is the smaller of \tcode{N} and the number of bits in the value
58265822
representation\iref{basic.types} of \tcode{unsigned long long}.
@@ -5896,7 +5892,7 @@
58965892
\begin{itemdescr}
58975893
\pnum
58985894
\effects
5899-
Constructs an object of class \tcode{bitset<N>} as if by:
5895+
As if by:
59005896
\begin{codeblock}
59015897
bitset(n == basic_string<charT>::npos
59025898
? basic_string<charT>(str)
@@ -15963,8 +15959,11 @@
1596315959

1596415960
\pnum
1596515961
\effects
15966-
Constructs a \tcode{boyer_moore_searcher} object, initializing \tcode{pat_first_} with \tcode{pat_first},
15967-
\tcode{pat_last_} with \tcode{pat_last}, \tcode{hash_} with \tcode{hf}, and \tcode{pred_} with \tcode{pred}.
15962+
Initializes
15963+
\tcode{pat_first_} with \tcode{pat_first},
15964+
\tcode{pat_last_} with \tcode{pat_last},
15965+
\tcode{hash_} with \tcode{hf}, and
15966+
\tcode{pred_} with \tcode{pred}.
1596815967

1596915968
\pnum
1597015969
\throws
@@ -16056,8 +16055,11 @@
1605616055

1605716056
\pnum
1605816057
\effects
16059-
Constructs a \tcode{boyer_moore_horspool_searcher} object, initializing \tcode{pat_first_} with \tcode{pat_first},
16060-
\tcode{pat_last_} with \tcode{pat_last}, \tcode{hash_} with \tcode{hf}, and \tcode{pred_} with \tcode{pred}.
16058+
Initializes
16059+
\tcode{pat_first_} with \tcode{pat_first},
16060+
\tcode{pat_last_} with \tcode{pat_last},
16061+
\tcode{hash_} with \tcode{hf}, and
16062+
\tcode{pred_} with \tcode{pred}.
1606116063

1606216064
\pnum
1606316065
\throws

0 commit comments

Comments
 (0)