This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2306: access control lost for virtual bases
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 31 Oct 2002 02:16:01 -0000
- Subject: Re: c++/2306: access control lost for virtual bases
- Reply-to: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
The following reply was made to PR c++/2306; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/2306: access control lost for virtual bases
Date: Wed, 30 Oct 2002 20:12:04 -0600 (CST)
Just for the record: the first access to the constructor of the base class
must be ok, since terminal classes are responsible for initialization of
virtual bases.
Of course, allowing the second access is bogus.
Regards
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth