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++/11418] New: Nested template as arg to base class template confuses args


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Nested template as arg to base class template confuses
                    args
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: GccBugs at Skyler dot com
                CC: gcc-bugs at gcc dot gnu dot org

In certain cases a class template used as a base class receives an incorrect 
type as a template argument.  If the derived class takes two type arguments 
which are used as arguments to two class templates, one nested inside the 
other, the problem occurs if the first argument is used with the inner template 
and the second argument is used with the outer template, and the resulting 
(inner) type is passed to the base class.  The type actually used by the base 
class uses the first argument of the derived class for BOTH the outer and inner 
templates.


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