[Bug c++/5458] address of overloaded template function as argument for template

2019-12-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=5458 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/5458] address of overloaded template function as argument for template

2016-01-14 Thread webrown.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=5458 W E Brown changed: What|Removed |Added CC||webrown.cpp at gmail dot com -- You are rece

[Bug c++/5458] address of overloaded template function as argument for template

2010-01-21 Thread jason at gcc dot gnu dot org
--- Comment #17 from jason at gcc dot gnu dot org 2010-01-21 19:09 --- We describe a template as overloading itself since it represents any number of actual functions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5458 --- You are receiving this mail because: --- You are o

[Bug c++/5458] address of overloaded template function as argument for template

2010-01-21 Thread jwakely dot gcc at gmail dot com
--- Comment #16 from jwakely dot gcc at gmail dot com 2010-01-21 19:00 --- Shouldn't it get the same error as for this case? template T foo() { return T(); } int main() { &foo; } That example can be made valid like so: int (*pf)() = &foo; Which demonstrates that the

[Bug c++/5458] address of overloaded template function as argument for template

2010-01-21 Thread joseph dot h dot garvin at gmail dot com
--- Comment #15 from joseph dot h dot garvin at gmail dot com 2010-01-21 18:38 --- I'm not sure what the standard says, but conceptually, if you only provide a template generic template foo, with no non-templated foo defined, then instantiations of foo are *never* 'overloaded.' If I hav

[Bug c++/5458] address of overloaded template function as argument for template

2009-11-24 Thread jason at gcc dot gnu dot org
--- Comment #14 from jason at gcc dot gnu dot org 2009-11-25 02:55 --- I'm not sure the standard actually says that this is well-formed, though it seems reasonable to me. 13.4/2: If the name is a function template, template argument deduction is done (14.9.2.2), and if the argument dedu

[Bug c++/5458] address of overloaded template function as argument for template

2009-06-23 Thread jwakely dot gcc at gmail dot com
-- jwakely dot gcc at gmail dot com changed: What|Removed |Added CC||jwakely dot gcc at gmail dot |

[Bug c++/5458] address of overloaded template function as argument for template

2008-01-07 Thread v dot haisman at sh dot cvut dot cz
--- Comment #13 from v dot haisman at sh dot cvut dot cz 2008-01-07 20:47 --- This still fails in 4.3.0. Know to fail sorted and without duplicates should read: 2.95.3 3.0.4 3.2.3 3.3.3 4.0.0 4.1.0 4.2.0 4.3.0 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5458 --- You are rec

[Bug c++/5458] address of overloaded template function as argument for template

2007-08-06 Thread rodolfo at rodsoft dot org
--- Comment #12 from rodolfo at rodsoft dot org 2007-08-06 14:18 --- This is an yet simpler case where this bug shows up: template void foo(T); void foo(int); void bar() { &foo; } i686-pc-linux-gnu-g++-4.2.1 fails with: teste.cpp: In function ‘void bar()’: teste.cpp:6: error: st

[Bug c++/5458] address of overloaded template function as argument for template

2007-08-06 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2007-08-06 13:58 --- *** Bug 33004 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/5458] address of overloaded template function as argument for template

2006-10-09 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Known to fail|2.95.3 |2.95.3 3.0.4 4.0.0 4.1.0 |

[Bug c++/5458] address of overloaded template function as argument for template

2006-10-09 Thread v dot haisman at sh dot cvut dot cz
--- Comment #10 from v dot haisman at sh dot cvut dot cz 2006-10-09 14:16 --- Shouldn't the "Known to fail" field get all the versions from its duplicates copied? Maybe that is why this rejects-valid bug is still not fixed even though most other rejects-valid bugs get a lot of attention

[Bug c++/5458] address of overloaded template function as argument for template

2006-08-21 Thread fang at csl dot cornell dot edu
-- fang at csl dot cornell dot edu changed: What|Removed |Added CC||fang at csl dot cornell dot |

[Bug c++/5458] address of overloaded template function as argument for template

2006-08-21 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-08-21 17:13 --- *** Bug 28793 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/5458] address of overloaded template function as argument for template

2005-12-11 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Last reconfirmed|2005-09-04 18:24:35 |2005-12-11 21:42:44 date||

[Bug c++/5458] address of overloaded template function as argument for template

2004-09-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-26 20:56 --- *** Bug 17683 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/5458] address of overloaded template function as argument for template

2004-08-27 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2004-08-27 13:27 --- *** Bug 17208 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/5458] address of overloaded template function as argument for template

2004-08-18 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2004-08-18 12:58 --- PR 17071 has this very nice and clean testcase. -- int foo (int); template T foo (T, T); template int bar (T, U); int main () { bar (0, &foo); } - W. --

[Bug c++/5458] address of overloaded template function as argument for template

2004-08-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-18 02:23 --- *** Bug 17071 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/5458] address of overloaded template function as argument for template

2004-05-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-15 21:27 --- *** Bug 15469 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/5458] address of overloaded template function as argument for template

2004-01-31 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Known to fail||2.95.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5458 --- You are receiving this mail because: ---

[Bug c++/5458] address of overloaded template function as argument for template

2004-01-31 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-31 19:08 --- *** Bug 13947 has been marked as a duplicate of this bug. *** -- What|Removed |Added