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++/20028] [3.4 Regression] class and then template class gives an ICE


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-17 21:14 -------
(In reply to comment #5)
> (In reply to comment #4)
> I guess I stumbled on the segfault by mistake in my vain attempts to get the 
> code to compile on 3.3 and greater.  Syntactically and semantically, I have 
> confirmed that this code does work, and it is also used similarly in 
> Alexandrescu's book on C++ Design Patterns.

Yes you did stumbled on the segfault but note this is not valid code still, yes a C++ book can get it 
wrong.




-- 


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


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