This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15949] Error using a qualified-id in a function template


------- Additional Comments From apl at alum dot mit dot edu  2004-06-11 21:15 -------
If I change the collision function to not be templated ala

  bool collision (NUNetRef&a, NUNetRef& b) {
    int dummy;
    NUNetRefCompareFunction f = &NUNetRef::overlaps;

    return (a.*f)(b);
  }

Then it compiles without error.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |3.3.3 3.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15949


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]