[Bug c++/56558] New: Address of operator with template base class member (C++ source compile error)
thierry.moreau at connotech dot com
gcc-bugzilla@gcc.gnu.org
Thu Mar 7 01:55:00 GMT 2013
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: unassigned@gcc.gnu.org
ReportedBy: thierry.moreau@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
More information about the Gcc-bugs
mailing list