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++/19249] abstract classes should not access virtually inherited class constructor


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-04 09:14 -------
Bss, this is invalid and not because the standard only says he constructor is ignored.
12.6.2P6:
"If V does not have an accessible default constructor, the initialization is ill-formed.  A mem-initializer 
naming a a virtual bass class shall be ignored during execution of the constructor of any class that is 
not the most derived class."  So it says ignored, ignored does not mean not checking for accessible.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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