Skip to content

Commit a3204c4

Browse files
burblebeetkoeppe
authored andcommitted
LWG3824 Number of bind placeholders is underspecified
Fixes NB GB 95 (C++23 CD).
1 parent cc63fcd commit a3204c4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

source/utilities.tex

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11798,9 +11798,13 @@
1179811798
\indexlibrary{8@\tcode{_8}}%
1179911799
\indexlibrary{9@\tcode{_9}}%
1180011800
\indexlibrary{10@\tcode{_10}}%
11801+
% FIXME: Fomatting for M and the members _1, _2, _M below,
11802+
% as well as their usages elsewhere is inconsistent.
11803+
% Should they all follow the formatting used in delcaration of
11804+
% "namespace placeholders" in [functional.syn]?
1180111805
\begin{codeblock}
1180211806
namespace std::placeholders {
11803-
// M is the \impldef{number of placeholders for bind expressions} number of placeholders
11807+
// M is the number of placeholders
1180411808
@\seebelow@ _1;
1180511809
@\seebelow@ _2;
1180611810
.
@@ -11810,6 +11814,10 @@
1181011814
}
1181111815
\end{codeblock}
1181211816

11817+
\pnum
11818+
The number \tcode{\placeholder{M}} of placeholders is
11819+
\impldef{number of placeholders for bind expressions}.
11820+
1181311821
\pnum
1181411822
All placeholder types meet the \oldconcept{DefaultConstructible} and
1181511823
\oldconcept{CopyConstructible} requirements, and

0 commit comments

Comments
 (0)