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
 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
Whole Tomato Software

United Kingdom
3287 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
Whole Tomato Software

5566 Posts

Posted - Sep 10 2009 :  3:08:34 PM  Show Profile  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:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000