Skip to content

Commit e251159

Browse files
jensmaurertkoeppe
authored andcommitted
[meta.reflection.substitute] Clarify error message in example
Fixes US 116-177 (C++26 CD).
1 parent 63c5914 commit e251159

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
@@ -6068,7 +6068,7 @@
60686068

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

60736073
template<class T>
60746074
auto fn2() {

0 commit comments

Comments
 (0)