You must be registered to post a reply. Click here to register.
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.