c++/2330: static_cast<>() to a private base is allowed

Wolfgang Bangerth bangerth@ticam.utexas.edu
Fri Nov 8 07:06:00 GMT 2002


The following reply was made to PR c++/2330; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/2330: static_cast<>() to a private base is allowed
Date: Fri, 8 Nov 2002 09:07:23 -0600 (CST)

 This problem persists. It also appears with a C-style cast like 
 (Base*)derived_object, see PR 8500.
 
 W.
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
                                www: http://www.ticam.utexas.edu/~bangerth
 
 



More information about the Gcc-prs mailing list