jensa
Junior Member
14 Posts |
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. |
|