T O P I C R E V I E W |
accord |
Posted - Aug 06 2006 : 3:42:54 PM class cParent { int banana; };
template <class T> class cTest : public cParent { public: int apple; };
cTest <int> *p = new cTest <int>; p->
Only apple appears in the completion listbox, but banana should be also...
|
3 L A T E S T R E P L I E S (Newest First) |
jpizzi |
Posted - Aug 07 2006 : 11:02:24 PM Even in the cpp, this works for me. One thing I did notice, however, is that banana is a private member attribute. I remember some discussion about whether or not we should list private member attributes in such a situation, but don't remember the outcome. Certainly the fact that mine is working and yours is not makes that conversation kind of moot, since I couldn't find an option to select the behavior.
Do you have "Get content from default Intellisense" (Visual Assist/Options/Text Editor/Listboxes) enabled? I do not. |
accord |
Posted - Aug 07 2006 : 12:42:04 PM Yes I'm using VS2005 and VAX 1530.
I have placed the class definitions also into the cpp file.
|
jpizzi |
Posted - Aug 06 2006 : 11:59:10 PM This is working for me in VS 2005 with VAX 1530. Are you trying this in a header or a cpp? Also, I am assuming C++.
I looked to some of your previous posts, and see that you are using VS 2005. Do you have VAX 1530, or a different version? If a different version, is changing to 1530 an option? |