Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Move Implementation to wrong sourcefile

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
devarni Posted - Jan 27 2008 : 07:26:30 AM
Build 10.4 1626

widget.h
class Test
{
Test();
void Blah(){}
};

class Widget
{
Widget();
}

test.cpp
Test::Test()
{
}

widget.cpp
Widget::Widget()
{
}

Moving implemention of member Blah() from class Test will move the implementation to widget.cpp instead of test.cpp
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 28 2008 : 08:02:36 AM
In general, how is VA to know that you want to place the function implementation into the "wrong" cpp file?

The code is being placed into the matching cpp file, the one that alt-o will take you to. While this may not be perfect, it is logical.

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