[Bug c++/33951] Template function resolution failure

2007-10-30 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-10-30 20:07 --- You are missing the part about argument dependent lookup. With the namespace, only the first display is looked at since the "bad" class is not in the global namespace. The late works because all of the display's a

[Bug c++/33951] Template function resolution failure

2007-10-30 Thread mpeuser at sandel dot com
--- Comment #1 from mpeuser at sandel dot com 2007-10-30 19:47 --- Created an attachment (id=14443) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14443&action=view) The preprocessor output of the code that generates the compiler error. Here is the preprocessor output file. --