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
Topic
Andrew121212
New Member
2 Posts
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;
};
feline
Whole Tomato Software
United Kingdom
19021 Posts
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?
zen is the art of being at one with the two'ness
Andrew121212
New Member
2 Posts
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
Whole Tomato Software
United Kingdom
19021 Posts
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?
zen is the art of being at one with the two'ness
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Visual Assist
Technical Support
Feature Requests
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
© 2023 Whole Tomato Software, LLC
Snitz Forums 2000