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
 Technical Support
 1640: create implementation omits class
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Frunobulax
Ketchup Master

84 Posts

Posted - Jun 03 2008 :  06:38:20 AM  Show Profile  Reply with Quote
Hi,

create in a header something.h and add the following code:

class MyClass {
public:
    struct Member {
        int foo;
    };

    const Member& getMember(void);
};

Placing the caret on getMember and using CreateImplementation will produce the following code:


const Member& MyClass::getMember( void )
{

}


This should be

const MyClass::Member& MyClass::getMember( void )


Regards, tv

"The nice part about being a pessimist
is that you are constantly being either
proven right or pleasantly surprised."
(George F. Will)

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jun 03 2008 :  09:08:49 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=1247

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 02 2016 :  7:58:11 PM  Show Profile  Reply with Quote
case=1247 is fixed in build 2089.
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