We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d392ee commit 1326972Copy full SHA for 1326972
source/overloading.tex
@@ -1751,12 +1751,12 @@
1751
\begin{codeblock}
1752
struct Y { Y(int); };
1753
struct A { operator int(); };
1754
- Y y1 = A(); // error: A::operator int() is not a candidate
+ Y y1 = A(); // error: \tcode{A::operator int()} is not a candidate
1755
1756
struct X { };
1757
struct B { operator X(); };
1758
B b;
1759
- X x({b}); // error: B::operator X() is not a candidate
+ X x({b}); // error: \tcode{B::operator X()} is not a candidate
1760
\end{codeblock}
1761
\exitexample
1762
0 commit comments