[Bug c++/20578] Problem with templates

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 21 15:33:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-21 15:32 -------
No this should not compile.  a is not dependent so it needs to be looked up at the point of the 
definition and not instaination.

Read the 3.4.x release notes to figure out how to fix your code.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list