File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2106,7 +2106,7 @@ void foo(T t, typename U::type u) {
2106
2106
}
2107
2107
2108
2108
void callFoo() {
2109
- foo<int, X>(5, 5.0); // T == int, typename U::type == X::type == int
2109
+ foo<int, X>(5, 5.0); // T == int, typename U::type == X::type == float
2110
2110
}
2111
2111
```
2112
2112
@@ -2127,7 +2127,7 @@ void foo(T t, typename U::type u) {
2127
2127
}
2128
2128
2129
2129
void callFoo() {
2130
- foo<int, X>(5, 5.0); // T == int, typename U::type == X::type == int
2130
+ foo<int, X>(5, 5.0); // T == int, typename U::type == X::type == float
2131
2131
foo<int, Y>(5, 5.0); // ???
2132
2132
}
2133
2133
```
@@ -2165,7 +2165,7 @@ void foo(T t, typename U::type2 u) {
2165
2165
// ...
2166
2166
}
2167
2167
void callFoo() {
2168
- foo<int, X>(5, 5.0); // T == int, typename U::type == X::type == int
2168
+ foo<int, X>(5, 5.0); // T == int, typename U::type == X::type == float
2169
2169
foo<int, Y>( 1, 1.0 ); // ???
2170
2170
}
2171
2171
```
You can’t perform that action at this time.
0 commit comments