Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1530: template parsing bug
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 06 2006 :  3:42:54 PM  Show Profile  Reply with Quote
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...

jpizzi
Tomato Guru

USA
642 Posts

Posted - Aug 06 2006 :  11:59:10 PM  Show Profile  Reply with Quote
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?

Joe Pizzi
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 07 2006 :  12:42:04 PM  Show Profile  Reply with Quote
Yes I'm using VS2005 and VAX 1530.

I have placed the class definitions also into the cpp file.
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Aug 07 2006 :  11:02:24 PM  Show Profile  Reply with Quote
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.

Joe Pizzi
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000