Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Syntax error!!! Bag

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
Andrew121212 Posted - May 25 2009 : 12:31:53 PM
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;

};
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 08 2009 : 12:05:51 PM
Does turning on:

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

fix this problem for you?
Andrew121212 Posted - Jun 05 2009 : 4:24:37 PM
Microsoft Visual C++ 2008 : All Okay -> There is a syntax
Microsoft Visual C++ 2008 & VAssistX : There is a problem = No lights, no lights
feline Posted - May 29 2009 : 12:17:05 PM
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?

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