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
 Missing class scope by move to source file
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jensa
Junior Member

14 Posts

Posted - Apr 24 2013 :  04:20:49 AM  Show Profile  Reply with Quote
Hi,

when I move an assignment operator from a header to cpp file as a refactoring from the context menu, the return parameter misses the class scope:

In a header file, write a class with an inner class:
class Outer
{
class Inner
{
Inner& operator=(Inner const& x)
{
// some code
}
};
};

When I now select "Move implementation to source file" from the context menu refactoring, the function will be placed as
Inner& A::Inner::operator=( Inner const& x )
{
bla bla
}
in the source file, but
A::Inner& A::Inner::operator=( Inner const& x )
{
bla bla
}
would be correct.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 24 2013 :  07:08:48 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=1247
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 02 2016 :  7:56:18 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