This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/85499] Unable to resolve function with inferred return type


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85499

--- Comment #1 from gcc at dcousens dot com ---
Instantiating `foo` previously can resolve the issue,  but isn't a work-able
solution in many cases.

```
int main () {
    foo<int>(1);
    bar(foo<int>);
}
```

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]