Skip to content

Commit 5dece36

Browse files
committed
[over.ics.rank] Correct the example in p3.1.5 to demonstrate that
bullet; previously the example was ordered by 3.1.1 because one of the overloads did not require a qualification conversion.
1 parent 9076e26 commit 5dece36

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
@@ -2356,10 +2356,10 @@
23562356
\enterexample
23572357

23582358
\begin{codeblock}
2359+
int f(const volatile int *);
23592360
int f(const int *);
2360-
int f(int *);
23612361
int i;
2362-
int j = f(&i); // calls \tcode{f(int*)}
2362+
int j = f(&i); // calls \tcode{f(const int*)}
23632363
\end{codeblock}
23642364
\exitexample
23652365
or, if not that,

0 commit comments

Comments
 (0)