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



             Bug #: 56558

           Summary: Address of operator with template base class member

                    (C++ source compile error)

    Classification: Unclassified

           Product: gcc

           Version: 4.6.4

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: c++

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: thierry.mor...@connotech.com





Created attachment 29606

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29606

C++ source code (minimal)



The C++ source file attached is minimal and causes a compiler error with 4.2

and 4.6 (latest snapshot), but neither 4.7 (except a 4.7.0 RC) nor 4.8.



In member function 'void t2<SIZE>::f() [with int SIZE = 1000]':

error: cannot convert 'int t1<1000>::*' to 'int*' in initialization

Reply via email to