Skip to content

Commit 1326972

Browse files
author
Stefanus Du Toit
committed
Formatting fixes for CWG1673.
Format code in example comment appropriately.
1 parent 4d392ee commit 1326972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/overloading.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,12 +1751,12 @@
17511751
\begin{codeblock}
17521752
struct Y { Y(int); };
17531753
struct A { operator int(); };
1754-
Y y1 = A(); // error: A::operator int() is not a candidate
1754+
Y y1 = A(); // error: \tcode{A::operator int()} is not a candidate
17551755

17561756
struct X { };
17571757
struct B { operator X(); };
17581758
B b;
1759-
X x({b}); // error: B::operator X() is not a candidate
1759+
X x({b}); // error: \tcode{B::operator X()} is not a candidate
17601760
\end{codeblock}
17611761
\exitexample
17621762

0 commit comments

Comments
 (0)