Reverse C++ Code + Template Instanciation


I have the following code that Reverse C++ Code cannot process - it generates an error.

#pragma warning( push )
#pragma warning( disable: 4231 )
WEAPONAGENT_DLL_EXTERN template class WEAPONAGENT_DLL TSingleton<class CSimSettings>;
#pragma warning( pop )

Although I predefined the WEAPONAGENT_DLL and WEAPONAGENT_DLL_EXTERN macros in the “Reverse Code” dialog, the line of code still fails.

If I simply comment out the lines above, then reverse code is successful. Is there any way that VPP can handle this use case.

I’m using VPP v12 (Build 20151101)