Skip to content

Commit ad685c4

Browse files
Dawn Perchikzygoloid
authored andcommitted
[stringbuf] Name string parameters "s" instead of "str" for consistency and to avoid confusion with "str" methods.
1 parent 93e4324 commit ad685c4

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

source/iostreams.tex

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7379,7 +7379,7 @@
73797379
basic_stringbuf() : basic_stringbuf(ios_base::in | ios_base::out) {}
73807380
explicit basic_stringbuf(ios_base::openmode which);
73817381
explicit basic_stringbuf(
7382-
const basic_string<charT, traits, Allocator>& str,
7382+
const basic_string<charT, traits, Allocator>& s,
73837383
ios_base::openmode which = ios_base::in | ios_base::out);
73847384
explicit basic_stringbuf(const Allocator& a)
73857385
: basic_stringbuf(ios_base::in | ios_base::out, a) {}
@@ -8170,7 +8170,7 @@
81708170
basic_istringstream() : basic_istringstream(ios_base::in) {}
81718171
explicit basic_istringstream(ios_base::openmode which);
81728172
explicit basic_istringstream(
8173-
const basic_string<charT, traits, Allocator>& str,
8173+
const basic_string<charT, traits, Allocator>& s,
81748174
ios_base::openmode which = ios_base::in);
81758175
basic_istringstream(ios_base::openmode which, const Allocator& a);
81768176
explicit basic_istringstream(
@@ -8252,7 +8252,7 @@
82528252
\indexlibrary{\idxcode{basic_istringstream}!constructor}%
82538253
\begin{itemdecl}
82548254
explicit basic_istringstream(
8255-
const basic_string<charT, traits, Allocator>& str,
8255+
const basic_string<charT, traits, Allocator>& s,
82568256
ios_base::openmode which = ios_base::in);
82578257
\end{itemdecl}
82588258

@@ -8262,7 +8262,7 @@
82628262
Initializes the base class with
82638263
\tcode{basic_istream<charT, traits>(addressof(sb))}\iref{istream}
82648264
and \tcode{sb} with
8265-
\tcode{basic_stringbuf<charT, traits, Allocator>(str, which | ios_base::in)}\linebreak(\ref{stringbuf.cons}). % avoid Overfull
8265+
\tcode{basic_stringbuf<charT, traits, Allocator>(s, which | ios_base::in)}\linebreak(\ref{stringbuf.cons}). % avoid Overfull
82668266
\end{itemdescr}
82678267

82688268
\indexlibrary{\idxcode{basic_istringstream}!constructor}%
@@ -8494,7 +8494,7 @@
84948494
basic_ostringstream() : basic_ostringstream(ios_base::out) {}
84958495
explicit basic_ostringstream(ios_base::openmode which);
84968496
explicit basic_ostringstream(
8497-
const basic_string<charT, traits, Allocator>& str,
8497+
const basic_string<charT, traits, Allocator>& s,
84988498
ios_base::openmode which = ios_base::out);
84998499
basic_ostringstream(ios_base::openmode which, const Allocator& a);
85008500
explicit basic_ostringstream(
@@ -8577,7 +8577,7 @@
85778577
\indexlibrary{\idxcode{basic_ostringstream}!constructor}%
85788578
\begin{itemdecl}
85798579
explicit basic_ostringstream(
8580-
const basic_string<charT, traits, Allocator>& str,
8580+
const basic_string<charT, traits, Allocator>& s,
85818581
ios_base::openmode which = ios_base::out);
85828582
\end{itemdecl}
85838583

@@ -8587,7 +8587,7 @@
85878587
Initializes the base class with
85888588
\tcode{basic_ostream<charT, traits>(addressof(sb))}\iref{ostream}
85898589
and \tcode{sb} with
8590-
\tcode{basic_stringbuf<charT, traits, Allocator>(str, which | ios_base::out)}\linebreak(\ref{stringbuf.cons}). % avoid Overfull
8590+
\tcode{basic_stringbuf<charT, traits, Allocator>(s, which | ios_base::out)}\linebreak(\ref{stringbuf.cons}). % avoid Overfull
85918591
\end{itemdescr}
85928592

85938593
\indexlibrary{\idxcode{basic_ostringstream}!constructor}%
@@ -8826,7 +8826,7 @@
88268826
basic_stringstream() : basic_stringstream(ios_base::out | ios_base::in) {}
88278827
explicit basic_stringstream(ios_base::openmode which);
88288828
explicit basic_stringstream(
8829-
const basic_string<charT, traits, Allocator>& str,
8829+
const basic_string<charT, traits, Allocator>& s,
88308830
ios_base::openmode which = ios_base::out | ios_base::in);
88318831
basic_stringstream(ios_base::openmode which, const Allocator& a);
88328832
explicit basic_stringstream(
@@ -8861,7 +8861,7 @@
88618861
basic_string<charT, traits, Allocator> str() &&;
88628862
basic_string_view<charT, traits> view() const noexcept;
88638863

8864-
void str(const basic_string<charT, traits, Allocator>& str);
8864+
void str(const basic_string<charT, traits, Allocator>& s);
88658865
template<class SAlloc>
88668866
void str(const basic_string<charT, traits, SAlloc>& s);
88678867
void str(basic_string<charT, traits, Allocator>&& s);
@@ -8912,7 +8912,7 @@
89128912
\indexlibrary{\idxcode{basic_stringstream}!constructor}%
89138913
\begin{itemdecl}
89148914
explicit basic_stringstream(
8915-
const basic_string<charT, traits, Allocator>& str,
8915+
const basic_string<charT, traits, Allocator>& s,
89168916
ios_base::openmode which = ios_base::out | ios_base::in);
89178917
\end{itemdecl}
89188918

@@ -8924,7 +8924,7 @@
89248924
and
89258925
\tcode{sb}
89268926
with
8927-
\tcode{basic_string\-buf<charT, traits, Allocator>(str, which)}.
8927+
\tcode{basic_string\-buf<charT, traits, Allocator>(s, which)}.
89288928
\end{itemdescr}
89298929

89308930
\indexlibrary{\idxcode{basic_stringstream}!constructor}%

0 commit comments

Comments
 (0)