Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Missing class scope by move to source file

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
jensa Posted - Apr 24 2013 : 04:20:49 AM
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.
2   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Feb 02 2016 : 7:56:18 PM
case=1247 is fixed in build 2089.
accord Posted - Apr 24 2013 : 07:08:48 AM
I am seeing the same effect here. Thank you for the clear description.

case=1247

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