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

devarni
New Member

5 Posts

Posted - Jan 27 2008 :  07:26:30 AM  Show Profile  Reply with Quote
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

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Jan 28 2008 :  08:02:36 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
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