This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85499] Unable to resolve function with inferred return type
- From: "gcc at dcousens dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Apr 2018 06:45:01 +0000
- Subject: [Bug c++/85499] Unable to resolve function with inferred return type
- Auto-submitted: auto-generated
- References: <bug-85499-4@http.gcc.gnu.org/bugzilla/>
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>);
}
```