Skip to content

Commit 3941f47

Browse files
committed
[basic.string] Minor whitespace adjustments
1 parent b23357c commit 3941f47

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

source/strings.tex

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -605,9 +605,8 @@
605605
template<> struct char_traits<wchar_t>;
606606

607607
// \ref{basic.string}, \tcode{basic_string}
608-
template<class charT, class traits = char_traits<charT>,
609-
class Allocator = allocator<charT>>
610-
class basic_string;
608+
template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT>>
609+
class basic_string;
611610

612611
template<class charT, class traits, class Allocator>
613612
basic_string<charT, traits, Allocator>
@@ -797,8 +796,7 @@
797796

798797
namespace pmr {
799798
template <class charT, class traits = char_traits<charT>>
800-
using basic_string =
801-
std::basic_string<charT, traits, polymorphic_allocator<charT>>;
799+
using basic_string = std::basic_string<charT, traits, polymorphic_allocator<charT>>;
802800

803801
using string = basic_string<char>;
804802
using u16string = basic_string<char16_t>;
@@ -1232,18 +1230,17 @@
12321230
\begin{libefftabvalue}
12331231
{\tcode{basic_string(const basic_string\&)} effects}
12341232
{tab:strings.ctr.cpy}
1235-
\tcode{data()} &
1236-
points at the first element of an allocated copy of the array
1237-
whose first element is pointed at by \tcode{str.data()} \\
1238-
\tcode{size()} & \tcode{str.size()} \\
1239-
\tcode{capacity()} & a value at least as large as \tcode{size()} \\
1233+
\tcode{data()} & points at the first element of an allocated
1234+
copy of the array whose first element is
1235+
pointed at by \tcode{str.data()} \\
1236+
\tcode{size()} & \tcode{str.size()} \\
1237+
\tcode{capacity()} & a value at least as large as \tcode{size()} \\
12401238
\end{libefftabvalue}
12411239
\end{itemdescr}
12421240

12431241
\indexlibrary{\idxcode{basic_string}!constructor}%
12441242
\begin{itemdecl}
1245-
basic_string(const basic_string& str, size_type pos,
1246-
const Allocator& a = Allocator());
1243+
basic_string(const basic_string& str, size_type pos, const Allocator& a = Allocator());
12471244
\end{itemdecl}
12481245

12491246
\begin{itemdescr}
@@ -1295,8 +1292,7 @@
12951292
\indexlibrary{\idxcode{basic_string}!constructor}%
12961293
\begin{itemdecl}
12971294
template<class T>
1298-
basic_string(const T& t, size_type pos, size_type n,
1299-
const Allocator& a = Allocator());
1295+
basic_string(const T& t, size_type pos, size_type n, const Allocator& a = Allocator());
13001296
\end{itemdecl}
13011297

13021298
\begin{itemdescr}
@@ -1316,8 +1312,7 @@
13161312

13171313
\indexlibrary{\idxcode{basic_string}!constructor}%
13181314
\begin{itemdecl}
1319-
explicit basic_string(basic_string_view<charT, traits> sv,
1320-
const Allocator& a = Allocator());
1315+
explicit basic_string(basic_string_view<charT, traits> sv, const Allocator& a = Allocator());
13211316
\end{itemdecl}
13221317

13231318
\begin{itemdescr}
@@ -1327,8 +1322,7 @@
13271322

13281323
\indexlibrary{\idxcode{basic_string}!constructor}%
13291324
\begin{itemdecl}
1330-
basic_string(const charT* s, size_type n,
1331-
const Allocator& a = Allocator());
1325+
basic_string(const charT* s, size_type n, const Allocator& a = Allocator());
13321326
\end{itemdecl}
13331327

13341328
\begin{itemdescr}

0 commit comments

Comments
 (0)