This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/5458] address of overloaded template function as argument for template
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2004 12:58:45 -0000
- Subject: [Bug c++/5458] address of overloaded template function as argument for template
- References: <20020122162601.5458.kenelson@ece.ucdavis.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu 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 <class T> T foo (T, T);
template <class T, class U> int bar (T, U);
int main ()
{
bar (0, &foo);
}
---------------------
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5458