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 97f2160 commit 6d9e8c6Copy full SHA for 6d9e8c6
source/declarations.tex
@@ -1445,7 +1445,7 @@
1445
// used within the context of this \grammarterm{decltype-specifier}
1446
void r() {
1447
q(42); // error: deduction against \tcode{q} succeeds, so overload resolution selects
1448
- // the specialization ``\tcode{q(T) -> decltype((h<T>())) [with T=int]}'';
+ // the specialization ``\tcode{q(T) -> decltype((h<T>()))}'' with \tcode{T}$=$\tcode{int};
1449
// the return type is \tcode{A<int>}, so a temporary is introduced and its
1450
// destructor is used, so the program is ill-formed
1451
}
0 commit comments