Skip to content

Commit b4d627a

Browse files
authored
Merge 2025-11 CWG Motion 2b
P3921R0 Core Language Working Group "ready" Issues for the November, 2025 meeting; issue 1670.
2 parents 09210c9 + 1a315f5 commit b4d627a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/classes.tex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2712,7 +2712,6 @@
27122712
\begin{example}
27132713
\begin{codeblock}
27142714
struct S {
2715-
operator auto() const { return 10; } // OK
27162715
template<class T>
27172716
operator auto() const { return 1.2; } // error: conversion function template
27182717
};

source/declarations.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,8 @@
18591859
\pnum
18601860
A placeholder type can appear in
18611861
the \grammarterm{decl-specifier-seq} or \grammarterm{type-specifier-seq}
1862-
in the declared return type of a function declarator that declares a function;
1862+
in the declared return type of a function declarator
1863+
that declares a function other than a conversion function\iref{class.conv.fct};
18631864
the return type of the function is
18641865
deduced from non-discarded \tcode{return} statements, if any, in the body
18651866
of the function\iref{stmt.if}.

0 commit comments

Comments
 (0)