Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 [bug] create implementation removes std ::class
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

firelight
Starting Member

1 Posts

Posted - Mar 31 2019 :  6:18:55 PM  Show Profile  Reply with Quote
When creating an implementation for an extern function in a header, VA removes the class after std::... in the implementation. For example :

.h
namespace something {
extern std::string test();
}


right click, create implementation.

.cpp
namespace something {
extern std test() {
}
}



Info :

License: trial
VA_X.dll file version 10.9.2318.0 built 2019.02.17
DevEnv.exe version 15.9.28307.481 Community
msenv.dll version 15.0.28307.421
Comctl32.dll version 6.10.17763.379
Windows 10 10.0 1809 Build 17763.379
12 processors (x86-64, WOW64)
Language info: 1252, 0x409

Platform: Project defined
Stable Includes:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\cppwinrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\winrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\shared;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\VS\UnitTest\include;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\VS\include;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\atlmfc\include;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include;

Other Includes:

Stable Source Directories:
C:\Program Files (x86)\Windows Kits\10\Source\10.0.17763.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\VS\src;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\crt\src;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\atlmfc\src\atl;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\atlmfc\src\mfcm;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\atlmfc\src\mfc;

feline
Whole Tomato Software

United Kingdom
19010 Posts

Posted - Apr 01 2019 :  10:05:31 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=138117

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000