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
 Improve on template-class analyse
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
343 Posts

Posted - Mar 22 2012 :  11:41:10 PM  Show Profile  Reply with Quote



VS2008 VA1862 win7 32bits
(1)The caret(green box),is where I input is a template parameter "Type",The VA don't prompt it.
(2)When I use the wraper class Xlist,The method member of CTypedPtrlist and CPtrList also cann't get prompt too.(CPtrList is base-class of CTypedPtrlist,CTypedPtrlist is base-class of Xlist)
Is there some space to improve it?

Creation come from persist!

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Mar 26 2012 :  2:27:17 PM  Show Profile  Reply with Quote
Testing with VA 1901 in VS2008, on the line with the green box, I get "Type" suggested by VA after typing "ty", so when I have:

BOOL PickOUtEqualptr(XList<ty|>);

The members of CTypedPtrlist not being listed is actually a known problem, there seems to be something about using this template as a base class that confuses our parser:

case=28540

The work around for this is to turn on:

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense

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

jzq740176597
Tomato Guru

China
343 Posts

Posted - Mar 26 2012 :  10:09:22 PM  Show Profile  Reply with Quote
Got it.I have checked {Get content from default Intellisense} on!
Hope it helps me well. Thank you.

Creation come from persist!
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