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
 Parse C++ Template
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

masterhe
New Member

3 Posts

Posted - Mar 16 2006 :  7:39:32 PM  Show Profile  Reply with Quote
When I use the Visual Assist V6,she show the member list is correct-?-?But the X version can't list the members.
For example:
class CA
{
public:
void F1();
void F2();
};
class CA1:public CA
{
public:
void F3();
void F4();
};

class CB
{
public:
CA *operator ->()const{return m_pA;}
CA *&operator ->(){return m_pA;}
protected:
CA *m_pA;
};

template<class TYPE>
class CTemplateBase :public CB
{
public:

TYPE *operator ->()const{return (TYPE *)m_pA;}
TYPE *&operator ->(){return (TYPE *&)m_pA;}

};
CTemplateBase<CA> a;
a->//list members ok
CTemplateBase<CA1> a1;
a1->//can't list members

masterhe

Edited by - masterhe on Mar 16 2006 10:46:14 PM

feline
Whole Tomato Software

United Kingdom
19001 Posts

Posted - Mar 23 2006 :  5:41:53 PM  Show Profile  Reply with Quote
i am seeing the same thing. something odd is going on here. i get the correct list on "a1" if this is the very first completion listbox i trigger after starting the IDE. but after this single successful list every further list is incomplete.

that particular feature also happens with some COM smart pointers, but now it is happening in this much simpler case.

thank you for the code, hopefully such a simple example will help.

case=997

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Aug 12 2006 :  11:15:08 PM  Show Profile  Reply with Quote
Case 997 fixed in build 1532.

Build 1532 has better support for COM smart pointers.
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