Skip to content

Commit c40f633

Browse files
committed
[class.conv.fct] Remove line incorrectly stating that "operator auto" is well-formed
1 parent 29dbf3f commit c40f633

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
@@ -2711,7 +2711,6 @@
27112711
\begin{example}
27122712
\begin{codeblock}
27132713
struct S {
2714-
operator auto() const { return 10; } // OK
27152714
template<class T>
27162715
operator auto() const { return 1.2; } // error: conversion function template
27172716
};

0 commit comments

Comments
 (0)