Re: access specifiers & class inheritance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux