Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 23, 2004 "access declaration of base ...": error message needs explanation | ||||
---|---|---|---|---|
| ||||
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 |
July 23, 2004 Re: "access declaration of base ...": error message needs explanation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Scott Michel | "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. |
July 23, 2004 Re: "access declaration of base ...": error message needs explanation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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?
|
July 25, 2004 Re: "access declaration of base ...": error message needs explanation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Scott Michel | "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; }; |
Copyright © 1999-2021 by the D Language Foundation