Whole Tomato Software Support Forum
Whole Tomato Software Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Visual Assist X
 Suggestions and Ideas
 Create implementation for static data members
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

drac
Senior Member

Germany
49 Posts

Posted - Aug 26 2009 :  08:02:02 AM  Show Profile  Reply with Quote
Given this example:

class MyClass
{
  static MyType m_staticVariable;
};


It would be nice if VA would have the menu entry "Create Implementation" active and the result would be:

(in myclass.cpp)
MyType MyClass::m_staticVariable;

And for header only classes:
__declspec(selectany) MyType MyClass:m_staticVariable;

accord
Moderator

Hungary
1215 Posts

Posted - Aug 26 2009 :  5:37:52 PM  Show Profile  Reply with Quote
Sensible suggestion. We already have a case for this:

case=4058

Interesting the header only classes version, I have put a note on the case about this.
Go to Top of Page

support
Moderator

5029 Posts

Posted - Sep 10 2009 :  3:08:34 PM  Show Profile  Visit support's Homepage  Reply with Quote
case=4058 is implemented in build 1734

Whole Tomato Software, Inc.

Edited by - support on Sep 10 2009 3:08:56 PM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Whole Tomato Software Support Forum © 2010 Whole Tomato Software, Inc Go To Top Of Page
Snitz Forums 2000