http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
Eric Lawless changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
--- Comment #9 from Eric Lawless 2010-12-01
02:59:43 UTC ---
Jonathan, you're absolutely right. After some patient explanation by Johannes
Schaub (litb) and Eelis van der Weegen (eelis) on IRC (FreeNode/##C++), I
realize that GCC's behaviour here
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
--- Comment #8 from Jonathan Wakely 2010-12-01
01:51:06 UTC ---
(In reply to comment #6)
> I think I did a bad job describing the issue, and I think that it's still a
> problem. I'd like to clarify it if I can. The following code works:
>
>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
--- Comment #7 from Kohei Takahashi 2010-12-01 00:30:45
UTC ---
(In reply to comment #6)
> Even though the template parameter pack Args expands to double, GCC is unable
> to match f to the type function if I use Args..., where it was
> able to wi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
Eric Lawless changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
--- Comment #4 from Jonathan Wakely 2010-11-30
20:04:00 UTC ---
(In reply to comment #3)
>
> Therefore compiler is unable to deduce template parameters that are Return,
> FirstType and ArgTypes.
Right, the lambda can be converted to double(*)(i
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
Kohei Takahashi changed:
What|Removed |Added
CC||flast at flast dot jp
--- Comment #3 fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
Paolo Carlini changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #2 f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
--- Comment #1 from Jonathan Wakely 2010-11-30
10:36:42 UTC ---
Reduced to get rid of library dependencies:
template
struct function
{
template function(Functor) { }
};
template
int
curry(function func, FirstType)
10 matches
Mail list logo