Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion source/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2711,7 +2711,6 @@
\begin{example}
\begin{codeblock}
struct S {
operator auto() const { return 10; } // OK
template<class T>
operator auto() const { return 1.2; } // error: conversion function template
};
Expand Down
3 changes: 2 additions & 1 deletion source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1866,7 +1866,8 @@
\pnum
A placeholder type can appear in
the \grammarterm{decl-specifier-seq} or \grammarterm{type-specifier-seq}
in the declared return type of a function declarator that declares a function;
in the declared return type of a function declarator
that declares a function other than a conversion function\iref{class.conv.fct};
the return type of the function is
deduced from non-discarded \tcode{return} statements, if any, in the body
of the function\iref{stmt.if}.
Expand Down