[Bug c++/20397] improve diagnostic for 'is inaccessible' error

s dot franke at bebbosoft dot de gcc-bugzilla@gcc.gnu.org
Fri Mar 5 07:14:00 GMT 2010



------- Comment #11 from s dot franke at bebbosoft dot de  2010-03-05 07:14 -------
(in reply to comment #8)
> As stated before, if you don't want the locally injected name, use
> ::A instead.

There is no injected name. Using a base class does not declare anything or
inject a name.

Making a base class private restricts the access of the bease class's members.
That's it.


-- 

s dot franke at bebbosoft dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |s dot franke at bebbosoft
                   |                            |dot de


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



More information about the Gcc-bugs mailing list