www.digitalmars.com         C & C++   DMDScript  

c++ - "access declaration of base ...": error message needs explanation

reply Scott Michel <scottm aero.org> writes:
Does anyone have a good explanation of what this error message means or 
what its intent is?

..\..\stlport\stl/_tree.h(278) : Error: access declaration of base 
member 'EH_allocator<TestClass >::_Non_const_traits' has storage class 
or type
Jul 22 2004
parent reply "Walter" <newshound digitalmars.com> writes:
"Scott Michel" <scottm aero.org> wrote in message
news:cdpo3k$19qh$1 digitaldaemon.com...
 Does anyone have a good explanation of what this error message means or
 what its intent is?

 ..\..\stlport\stl/_tree.h(278) : Error: access declaration of base
 member 'EH_allocator<TestClass >::_Non_const_traits' has storage class
 or type
Cannot specify a storage class or a type when adjusting the access to a member of a base class.
Jul 23 2004
parent reply Scott Michel <scottm aero.org> writes:
Walter wrote:
 "Scott Michel" <scottm aero.org> wrote in message
 news:cdpo3k$19qh$1 digitaldaemon.com...
 
Does anyone have a good explanation of what this error message means or
what its intent is?

..\..\stlport\stl/_tree.h(278) : Error: access declaration of base
member 'EH_allocator<TestClass >::_Non_const_traits' has storage class
or type
Cannot specify a storage class or a type when adjusting the access to a member of a base class.
Sorry, don't mean to be completely dense, but do you have an example?
Jul 23 2004
parent "Walter" <newshound digitalmars.com> writes:
"Scott Michel" <scottm aero.org> wrote in message
news:cds830$2tvp$1 digitaldaemon.com...
 Walter wrote:
 "Scott Michel" <scottm aero.org> wrote in message
 news:cdpo3k$19qh$1 digitaldaemon.com...

Does anyone have a good explanation of what this error message means or
what its intent is?

..\..\stlport\stl/_tree.h(278) : Error: access declaration of base
member 'EH_allocator<TestClass >::_Non_const_traits' has storage class
or type
Cannot specify a storage class or a type when adjusting the access to a member of a base class.
Sorry, don't mean to be completely dense, but do you have an example?
From ARM 11.3: class B { }; class D : private B { int d; public: int B::c; };
Jul 24 2004