Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1531: Create Implementation

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
khb Posted - Aug 09 2006 : 10:32:52 AM
Please consider the following class:
class A
{
public:
    virtual ~A();

    void B();

protected:
    A();

    void C()
};
Note, that I forgot the semicolon behind C(). After calling Create Implementation on C() I got:
class A
{
    :
    virtual ~A();
    
    void B()
        
        :
    A();
    
    void C() A::C() void B() protected: A()
    {
        
    }
Please let me add, that Create Implementation works perfectly for B(), no matter whether I put a semicolon behind it or not. Of course, it also works for C() when adding the semicolon.

VC6, Win XP, no further add-ins.

Regards,
Marcus.
4   L A T E S T    R E P L I E S    (Newest First)
khb Posted - Aug 11 2006 : 02:14:49 AM
Yes, thank you Joe, it's exactly the same problem.

Regards,
Marcus.
jpizzi Posted - Aug 11 2006 : 12:13:07 AM
I believe this is a duplicate of http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=4894

case=1567
khb Posted - Aug 10 2006 : 02:58:56 AM
Feline, I don't know if I got you correctly. Can you reproduce the problem? If so, is this problem worth a case to fix? Of course, I applied refactoring to an incomplete line, but it is quite confusing when VA generates that much rubble in this case.

Regards,
Marcus.
feline Posted - Aug 09 2006 : 9:23:07 PM
interesting

i have noticed that some refactoring operations are simply not offered to me when i have mistakes in my classes. the main one i seem to keep running into is no return type, and i cannot get Create Implementation offered to me at all.

the parser does seem more "sensitive" to the code when doing refactoring, but that makes sense when you think about it.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000