You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
Posted - May 07 2014 : 01:54:44 AM ## My Environment
- VS2013 Pro
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.
2 L A T E S T R E P L I E S (Newest First)
Posted - Feb 02 2016 : 7:56:02 PM case=1247 is fixed in build 2089.
Posted - May 07 2014 : 11:24:01 PM 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.