Skip to content

Commit e68fc36

Browse files
burblebeetkoeppe
authored andcommitted
LWG3866 Bad Mandates for expected::transform_error overloads
1 parent 7f03635 commit e68fc36

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

source/utilities.tex

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8506,7 +8506,8 @@
85068506

85078507
\pnum
85088508
\mandates
8509-
\tcode{G} is a valid value type for \tcode{expected} and the declaration
8509+
\tcode{G} is a valid template argument
8510+
for \tcode{unexpected}\iref{expected.un.general} and the declaration
85108511
\begin{codeblock}
85118512
G g(invoke(std::forward<F>(f), error()));
85128513
\end{codeblock}
@@ -8537,7 +8538,8 @@
85378538

85388539
\pnum
85398540
\mandates
8540-
\tcode{G} is a valid value type for \tcode{expected} and the declaration
8541+
\tcode{G} is a valid template argument
8542+
for \tcode{unexpected}\iref{expected.un.general} and the declaration
85418543
\begin{codeblock}
85428544
G g(invoke(std::forward<F>(f), std::move(error())));
85438545
\end{codeblock}
@@ -9459,7 +9461,8 @@
94599461

94609462
\pnum
94619463
\mandates
9462-
\tcode{G} is a valid value type for \tcode{expected} and the declaration
9464+
\tcode{G} is a valid template argument
9465+
for \tcode{unexpected}\iref{expected.un.general} and the declaration
94639466
\begin{codeblock}
94649467
G g(invoke(std::forward<F>(f), error()));
94659468
\end{codeblock}
@@ -9486,7 +9489,8 @@
94869489

94879490
\pnum
94889491
\mandates
9489-
\tcode{G} is a valid value type for \tcode{expected} and the declaration
9492+
\tcode{G} is a valid template argument
9493+
for \tcode{unexpected}\iref{expected.un.general} and the declaration
94909494
\begin{codeblock}
94919495
G g(invoke(std::forward<F>(f), std::move(error())));
94929496
\end{codeblock}

0 commit comments

Comments
 (0)