Skip to content

Commit 136f9f0

Browse files
committed
[meta.reflection.substitute] Clarify error message in example
Fixes US 116-177 (C++26 CD).
1 parent 322d380 commit 136f9f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/meta.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6066,7 +6066,7 @@
60666066

60676067
static_assert(!can_substitute(^^fn1, {^^int})); // OK
60686068
constexpr info r1 = substitute(^^fn1, {^^int}); // error: \tcode{fn<int>} contains an undeduced
6069-
// placeholder type
6069+
// placeholder type for its return type
60706070

60716071
template<class T>
60726072
auto fn2() {

0 commit comments

Comments
 (0)