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
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

khb
Tomato Guru

Germany
337 Posts

Posted - Dec 11 2006 :  08:33:55 AM  Show Profile  Reply with Quote
Create implementation on static member variables would be nice.

Regards,
Marcus.

feline
Whole Tomato Software

United Kingdom
19015 Posts

Posted - Dec 11 2006 :  08:58:36 AM  Show Profile  Reply with Quote
I rather like this idea

Just to make sure we are talking about the same thing, if you have the following class in a header file:

class bugCreateImplementation
{
    static int m_nStaticMemberVariable;
};


you want VA to generate the code:

int bugCreateImplementation::m_nStaticMemberVariable;


and to place it into the matching cpp file?

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

bugfix
Tomato Guru

Germany
324 Posts

Posted - Dec 11 2006 :  11:36:35 AM  Show Profile  Reply with Quote
nice idea. just want to mention that in VC it's possible to add definition to .h as well. templated stuff like atl/wtl does that as they often do not have a corresponding cpp file.

like:
const __declspec(selectany) int bugCreateImplementation::m_nStaticMemberVariable;

http://www.mf-sd.de
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19015 Posts

Posted - Dec 11 2006 :  4:53:12 PM  Show Profile  Reply with Quote
I suggested the cpp file since this is where Create Implementation normally places the code, but it keeps new functions for template classes in the .h file.

I have put in a feature request for this:

case=4058

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

khb
Tomato Guru

Germany
337 Posts

Posted - Dec 12 2006 :  02:20:53 AM  Show Profile  Reply with Quote
Feline, this is exactly what I was looking for. Thank you for setting up the feature request!

Regards,
Marcus.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 10 2009 :  3:09:26 PM  Show Profile  Reply with Quote
case=4058 is implemented in build 1734

Whole Tomato Software, Inc.
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