Skip to content

Commit 6d9e8c6

Browse files
committed
[dcl.type.simple] Improve naming of template specialization in example.
1 parent 97f2160 commit 6d9e8c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,7 @@
14451445
// used within the context of this \grammarterm{decltype-specifier}
14461446
void r() {
14471447
q(42); // error: deduction against \tcode{q} succeeds, so overload resolution selects
1448-
// the specialization ``\tcode{q(T) -> decltype((h<T>())) [with T=int]}'';
1448+
// the specialization ``\tcode{q(T) -> decltype((h<T>()))}'' with \tcode{T}$=$\tcode{int};
14491449
// the return type is \tcode{A<int>}, so a temporary is introduced and its
14501450
// destructor is used, so the program is ill-formed
14511451
}

0 commit comments

Comments
 (0)