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
 Feature Requests
 Syntax error!!! Bag
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Andrew121212
New Member

2 Posts

Posted - May 25 2009 :  12:31:53 PM  Show Profile  Reply with Quote
struct nPOSITION{};
struct nROTATION{};
struct nSIZE{};

template<typename TYP,typename NAM>
struct Name;

template<typename TYP>
struct Name<TYP,nPOSITION>{
TYP Position;
};
template<typename TYP>
struct Name<TYP,nROTATION>{
TYP Rotation;
};
template<typename TYP>
struct Name<TYP,nSIZE>{
TYP Size;
};

void main(){

Name<int,nSIZE> box;

box. // Syntax!!! VAssistX BAG!!! Error!!! BAG!!! Error!!! Fatal!!! Help!!!
box.Size;

};

feline
Whole Tomato Software

United Kingdom
18942 Posts

Posted - May 29 2009 :  12:17:05 PM  Show Profile  Reply with Quote
I do not understand the problem. When I add this code to a cpp file using VS2005 and VA 1724 and type a dot after "box" I get a listbox with the single item "Size". This seems correct.

Which IDE and version of VA are you using?

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

Andrew121212
New Member

2 Posts

Posted - Jun 05 2009 :  4:24:37 PM  Show Profile  Reply with Quote
Microsoft Visual C++ 2008 : All Okay -> There is a syntax
Microsoft Visual C++ 2008 & VAssistX : There is a problem = No lights, no lights
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18942 Posts

Posted - Jun 08 2009 :  12:05:51 PM  Show Profile  Reply with Quote
Does turning on:

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

fix this problem for you?

zen is the art of being at one with the two'ness
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