access specifiers & class inheritance
Jonathan Wakely
jwakely.gcc@gmail.com
Mon Apr 8 11:06:00 GMT 2013
On 8 April 2013 11:30, scalpel4k wrote:
> On Monday 08 Apr 2013 11:24:16 Jonathan Wakely wrote:
>> Access control in C++ does not affect visibility.
> Am I reading something else in section 11.2 ???
> [...] If a class is declared to be a base class for another class using the private access specifier, the public and protected members of the base
> class are accessible as private members of the derived class. [....]
That only talks about accessibility, not visibility.
More information about the Gcc-help
mailing list