Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2e188e5
CWG233 References vs pointers in UDC overload resolution
burblebee Jul 1, 2024
4596a87
CWG2561 Conversion to function pointer for lambda with explicit objec…
burblebee Jul 1, 2024
0c6f5bc
CWG2588 friend declarations and module linkage
burblebee Jul 1, 2024
f47cbe4
CWG2728 Evaluation of conversions in a delete-expression
burblebee Jul 1, 2024
ba8ff83
CWG2818 Use of predefined reserved identifiers
burblebee Jul 1, 2024
e242072
CWG2836 Conversion rank of long double and extended floating-point types
burblebee Jul 1, 2024
2785faa
CWG2859 Value-initialization with multiple default constructors
burblebee Jul 1, 2024
ac4ca28
CWG2861 dynamic_cast on bad pointer value
burblebee Jul 1, 2024
6230b30
CWG2864 Narrowing floating-point conversions
burblebee Jul 1, 2024
3ca9529
CWG2865 Regression on result of conditional operator
burblebee Jul 1, 2024
f7ee4d7
CWG2867 Order of initialization for structured bindings
burblebee Jul 1, 2024
aa46088
CWG2869 this in local classes
burblebee Jul 1, 2024
f368144
CWG2870 Combining absent encoding-prefixes
burblebee Jul 2, 2024
f6ab13f
CWG2871 User-declared constructor templates inhibiting default constr…
burblebee Jul 2, 2024
be6efd9
CWG2872 Linkage and unclear "can be referred to"
burblebee Jul 2, 2024
4ceed3f
CWG2874 Qualified declarations of partial specializations
burblebee Jul 2, 2024
76bf42d
CWG2877 Type-only lookup for using-enum-declarator
burblebee Jul 2, 2024
0193ee8
CWG2881 Type restrictions for the explicit object parameter of a lambda
burblebee Jul 2, 2024
3d5d613
CWG2882 Unclear treatment of conversion to void
burblebee Jul 2, 2024
7c74329
CWG2883 Definition of "odr-usable" ignores lambda scopes
burblebee Jul 2, 2024
56758c0
CWG2886 Temporaries and trivial potentially-throwing special member f…
burblebee Jul 2, 2024
8400611
CWG2887 Missing compatibility entries for xvalues
burblebee Jul 2, 2024
f20464d
CWG2891 Normative status of implementation limits
burblebee Jul 2, 2024
a09f17d
CWG2892 Unclear usual arithmetic conversions
burblebee Jul 2, 2024
8f43f8d
CWG2895 Initialization should ignore the destination type's cv-qualif…
burblebee Jul 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CWG2881 Type restrictions for the explicit object parameter of a lambda
  • Loading branch information
burblebee authored and tkoeppe committed Jul 12, 2024
commit 0193ee832f025189c4de3913eb80a2a459fa612f
2 changes: 1 addition & 1 deletion source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2012,7 +2012,7 @@
\item
the closure type,
\item
a class type derived from the closure type, or
a class type publicly and unambiguously derived from the closure type, or
\item
a reference to a possibly cv-qualified such type.
\end{itemize}
Expand Down
7 changes: 7 additions & 0 deletions source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7445,6 +7445,13 @@
Attempting to create a function type in which a parameter has a type
of \keyword{void}, or in which the return type is a function type
or array type.

\item
%FIXME: What's it mean to "give" a type "to" a parameter?
%FIXME: See also "Attempting to give an invalid type to ..." above.
Attempting to give to
an explicit object parameter of a lambda's function call operator
a type not permitted for such\iref{expr.prim.lambda.closure}.
\end{itemize}
\end{note}

Expand Down