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++/21510] Possible bug


------- Additional Comments From sven at clio dot in-berlin dot de  2005-05-15 14:08 -------
(In reply to comment #3) 
> The code is invalid.  In the section 14.8.2 [temp.deduct] paragraph 2 of the 
> standard 
> does not include creating a class with invalid base class. 
 
If there is no other way to distinguish reliable between unions and classes, 
add it into the extension list. Unions should be avoided in object oriented 
design, anyway, but it is a nice-to-have feature. 
 

-- 


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


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