Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7a1707e

Browse files
authoredApr 7, 2025
Merge branch 'cplusplus:main' into cxxdraft-htmlgen-fixes
2 parents e7834d4 + 4efa2e0 commit 7a1707e

File tree

5 files changed

+39
-39
lines changed

5 files changed

+39
-39
lines changed
 

Diff for: ‎source/iostreams.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -4946,7 +4946,7 @@
49464946
\pnum
49474947
Characters are extracted and stored until any of the following occurs:
49484948
\begin{itemize}
4949-
\item \tcode{n-1} characters are stored;
4949+
\item \tcode{n - 1} characters are stored;
49504950
\item end of file occurs on the input sequence;
49514951
\item letting \tcode{ct} be \tcode{use_facet<ctype<charT>>(in.getloc())},
49524952
\tcode{ct.is(ct.space, c)} is \tcode{true}.
@@ -8518,9 +8518,9 @@
85188518
the \tcode{basic_stringbuf}'s underlying character sequence in \tcode{buf}:
85198519
\begin{itemize}
85208520
\item If \tcode{ios_base::out} is set in \exposid{mode},
8521-
then \tcode{sv(pbase(), high_mark-pbase())} is returned.
8521+
then \tcode{sv(pbase(), high_mark - pbase())} is returned.
85228522
\item Otherwise, if \tcode{ios_base::in} is set in \exposid{mode},
8523-
then \tcode{sv(eback(), egptr()-eback())} is returned.
8523+
then \tcode{sv(eback(), egptr() - eback())} is returned.
85248524
\item Otherwise, \tcode{sv()} is returned.
85258525
\end{itemize}
85268526

Diff for: ‎source/memory.tex

+4-4
Original file line numberDiff line numberDiff line change
@@ -5818,7 +5818,7 @@
58185818

58195819
\pnum
58205820
The template parameter \tcode{Allocator} of \tcode{indirect}
5821-
shall meet the \oldconceptname{Allocator} requirements.
5821+
shall meet the \oldconcept{Allocator} requirements.
58225822

58235823
\pnum
58245824
If a program declares an explicit or partial specialization of \tcode{indirect},
@@ -6478,7 +6478,7 @@
64786478
If
64796479
\tcode{allocator_traits<Allocator>::propagate_on_container_swap::value}
64806480
is \tcode{true}, then
6481-
\tcode{Allocator} meets the \oldconceptname{Swappable} requirements.
6481+
\tcode{Allocator} meets the \oldconcept{Swappable} requirements.
64826482
Otherwise \tcode{get_allocator() == other.\linebreak{}get_allocator()} is \tcode{true}.
64836483

64846484
\pnum
@@ -6675,7 +6675,7 @@
66756675

66766676
\pnum
66776677
The template parameter \tcode{Allocator} of \tcode{polymorphic}
6678-
shall meet the requirements of \oldconceptname{Allocator}.
6678+
shall meet the requirements of \oldconcept{Allocator}.
66796679

66806680
\pnum
66816681
If a program declares an explicit or
@@ -7269,7 +7269,7 @@
72697269
\expects
72707270
If \tcode{allocator_traits<Allocator>::propagate_on_container_swap::value}
72717271
is \tcode{true}, then
7272-
\tcode{Allocator} meets the \oldconceptname{Swappable} requirements.
7272+
\tcode{Allocator} meets the \oldconcept{Swappable} requirements.
72737273
Otherwise \tcode{get_allocator() == other.\linebreak{}get_allocator()} is \tcode{true}.
72747274

72757275
\pnum

Diff for: ‎source/text.tex

+28-28
Original file line numberDiff line numberDiff line change
@@ -4276,7 +4276,7 @@
42764276
\end{footnote}
42774277
\begin{codeblock}
42784278
for (int i = 0; i < n; ++i)
4279-
buf2[i] = src[find(atoms, atoms+sizeof(src), buf1[i]) - atoms];
4279+
buf2[i] = src[find(atoms, atoms + sizeof(src), buf1[i]) - atoms];
42804280
buf2[n] = 0;
42814281
sscanf(buf2, "%Lf", &units);
42824282
\end{codeblock}
@@ -4434,30 +4434,30 @@
44344434

44354435
explicit moneypunct(size_t refs = 0);
44364436

4437-
charT decimal_point() const;
4438-
charT thousands_sep() const;
4439-
string grouping() const;
4440-
string_type curr_symbol() const;
4441-
string_type positive_sign() const;
4442-
string_type negative_sign() const;
4443-
int frac_digits() const;
4444-
pattern pos_format() const;
4445-
pattern neg_format() const;
4437+
charT decimal_point() const;
4438+
charT thousands_sep() const;
4439+
string grouping() const;
4440+
string_type curr_symbol() const;
4441+
string_type positive_sign() const;
4442+
string_type negative_sign() const;
4443+
int frac_digits() const;
4444+
pattern pos_format() const;
4445+
pattern neg_format() const;
44464446

44474447
static locale::id id;
44484448
static const bool intl = International;
44494449

44504450
protected:
44514451
~moneypunct();
4452-
virtual charT do_decimal_point() const;
4453-
virtual charT do_thousands_sep() const;
4454-
virtual string do_grouping() const;
4455-
virtual string_type do_curr_symbol() const;
4456-
virtual string_type do_positive_sign() const;
4457-
virtual string_type do_negative_sign() const;
4458-
virtual int do_frac_digits() const;
4459-
virtual pattern do_pos_format() const;
4460-
virtual pattern do_neg_format() const;
4452+
virtual charT do_decimal_point() const;
4453+
virtual charT do_thousands_sep() const;
4454+
virtual string do_grouping() const;
4455+
virtual string_type do_curr_symbol() const;
4456+
virtual string_type do_positive_sign() const;
4457+
virtual string_type do_negative_sign() const;
4458+
virtual int do_frac_digits() const;
4459+
virtual pattern do_pos_format() const;
4460+
virtual pattern do_neg_format() const;
44614461
};
44624462
}
44634463
\end{codeblock}
@@ -4562,15 +4562,15 @@
45624562
\indexlibrarymember{moneypunct}{positive_sign}%
45634563
\indexlibrarymember{moneypunct}{negative_sign}%
45644564
\begin{codeblock}
4565-
charT decimal_point() const;
4566-
charT thousands_sep() const;
4567-
string grouping() const;
4568-
string_type curr_symbol() const;
4569-
string_type positive_sign() const;
4570-
string_type negative_sign() const;
4571-
int frac_digits() const;
4572-
pattern pos_format() const;
4573-
pattern neg_format() const;
4565+
charT decimal_point() const;
4566+
charT thousands_sep() const;
4567+
string grouping() const;
4568+
string_type curr_symbol() const;
4569+
string_type positive_sign() const;
4570+
string_type negative_sign() const;
4571+
int frac_digits() const;
4572+
pattern pos_format() const;
4573+
pattern neg_format() const;
45744574
\end{codeblock}
45754575

45764576
\pnum

Diff for: ‎source/time.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -2654,8 +2654,8 @@
26542654
static time_point now() noexcept;
26552655

26562656
// mapping to/from C type \tcode{time_t}
2657-
static time_t to_time_t (const time_point& t) noexcept;
2658-
static time_point from_time_t(time_t t) noexcept;
2657+
static time_t to_time_t (const time_point& t) noexcept;
2658+
static time_point from_time_t(time_t t) noexcept;
26592659
};
26602660
}
26612661
\end{codeblock}

Diff for: ‎source/utilities.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -4375,7 +4375,7 @@
43754375
\begin{itemdescr}
43764376
\pnum
43774377
\constraints
4378-
\tcode{F} models \tcode{\libconcept{invocable}<>} and
4378+
\tcode{F} models \libconcept{invocable} and
43794379
\tcode{T} models \libconcept{copy_constructible}.
43804380

43814381
\pnum
@@ -4402,7 +4402,7 @@
44024402
\begin{itemdescr}
44034403
\pnum
44044404
\constraints
4405-
\tcode{F} models \tcode{\libconcept{invocable}<>} and
4405+
\tcode{F} models \libconcept{invocable} and
44064406
\tcode{T} models \libconcept{move_constructible}.
44074407

44084408
\pnum

0 commit comments

Comments
 (0)
Please sign in to comment.