c++ - "access declaration of base ...": error message needs explanation
- Scott Michel <scottm aero.org> Jul 22 2004
- "Walter" <newshound digitalmars.com> Jul 23 2004
- Scott Michel <scottm aero.org> Jul 23 2004
- "Walter" <newshound digitalmars.com> Jul 24 2004
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
"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
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
"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








"Walter" <newshound digitalmars.com>