------- Additional Comments From bangerth at dealii dot org 2005-01-07 20:58 ------- This one is simpler: ------------------------- template <class R, class T> void foo (R (T::*x) ()); template <class R, class T, class C> void foo (R (T::*x) (C)); template<int> struct I { int o (); int o () const; }; template <int> void bar (void) { foo <int, I<1> > (&I<1>::o); } ------------------------------- g/x> /home/bangerth/bin/gcc-4.0-pre/bin/c++ -c x.cc x.cc: In function ?void bar()?: x.cc:10: internal compiler error: in resolve_overloaded_unification, at cp/pt.c:9523 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. W.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19311