www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

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

↑ ↓ ← 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
↑ ↓ "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
↑ ↓ 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
↑ ↓ → "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