Skip to content

Commit 1a315f5

Browse files
eisenwavetkoeppe
authored andcommitted
[class.conv.fct] Remove line incorrectly stating that "operator auto" is well-formed
1 parent 941728e commit 1a315f5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
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
};

0 commit comments

Comments
 (0)