[Bug c++/63515] Deduced number of parameters can be deduced from unrelated type

luka.rahne at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 13 22:54:00 GMT 2014


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

--- Comment #3 from Luka Rahne <luka.rahne at gmail dot com> ---
Extra observations:

It looks to me that assignment "auto c = CurriedImpl<2,some_type>(f);" tries to
construct an operator();

If operator() is renamed to function fun or assignment is replaced by
constructor there is no issues.



More information about the Gcc-bugs mailing list