[Bug c++/31881] inherited members invisible within nested class within templated class

ghood at psc dot edu gcc-bugzilla@gcc.gnu.org
Wed May 9 18:05:00 GMT 2007



------- Comment #3 from ghood at psc dot edu  2007-05-09 19:04 -------
OK, I now understand the issue here.  The fact that B and C were not
explicitly templatized, and the other compilers accepted it, led me
to think that it was valid code.  In case anyone else is interested,
there's an explanation at:
http://womble.decadentplace.org.uk/c++/template-faq.html#base-lookup

Thanks.


-- 

ghood at psc dot edu changed:

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


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



More information about the Gcc-bugs mailing list