Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Parse C++ Template

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
masterhe Posted - Mar 16 2006 : 7:39:32 PM
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
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 12 2006 : 11:15:08 PM
Case 997 fixed in build 1532.

Build 1532 has better support for COM smart pointers.
feline Posted - Mar 23 2006 : 5:41:53 PM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000