quote:Microsoft Visual Studio Professional 2013 Version 12.0.30110.00 Update 1
- Visual Assist 2029
quote:License: trial VA_X.dll file version 10.8.2029.0 built 2014.02.24 DevEnv.exe version 12.0.30110.0 Professional msenv.dll version 12.0.30110.0 Comctl32.dll version 6.10.7601.17514 Windows 7 6.1 Build 7601 Service Pack 1 4 processors (x86-64, WOW64) Language info: 936, 0x804, 0x2d
I implemented some getters in a header file. And then use the "Move Method Implementations to Source File..." function to move them to source file. There're some typedefs in the class. And the return values of the getters are of that types. But VA does not append the scope resolutions for them. See my following screenshots.
I am seeing the same effect here. Thank you for the clear description.
Here the problem is making the return type a reference. Remove the & from the return type, and VA correctly qualifies the return type. Knowing this might help you work around the problem occasionally, but having to add the & back on may be more error prone than qualifying the return type after the Move Implementation to Source File.