Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 160276 Details for
Bug 304010
Variable view fails to show details for base class member (next)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Sample file with comments to reproduce the problem
toto.cpp (text/plain), 489 bytes, created by
Francois Rigault
on 2010-02-26 05:15:52 EST
(
hide
)
Description:
Sample file with comments to reproduce the problem
Filename:
MIME Type:
Creator:
Francois Rigault
Created:
2010-02-26 05:15:52 EST
Size:
489 bytes
patch
obsolete
>#include <iostream> >using namespace std; > >namespace n { > class Base { > private: > int pri; > public: > int baseVar; > Base() : baseVar (42), pri(42) {} > }; >} > >class A : public n::Base{ >private: > int pri; >public: > int aVar; > A() : aVar(1), pri(1){} >}; > >class B : public A { >private: > int pri; >public: > int bVar; > B() : bVar(2), pri(2) {} > > void doIt() { > cout << this -> baseVar << endl; //here, inspect this.A.pri > } >}; > >int main() { > B b; > b.doIt(); // here inspect this.A.b::Base.pri >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 304010
: 160276 |
160277
|
164293