I recently upgraded a project from VS2008 to VS2015.
It seems that Find References fails in VS2015 for std::tr1::shared_ptr while it was ok in VS2008.
It seems to work however for std::shared_ptr.
Tried http://docs.wholetomato.com/?W363 but no success.
Is there any solution without changing std::tr1::shared_ptr to std::shared_ptr?
Environment:
VA_X.dll file version 10.9.2102.0 built 2016.06.02
DevEnv.exe version 14.0.25123.0 Professional
msenv.dll version 14.0.25123.0
Comctl32.dll version 6.10.7601.18837
Windows 7 6.1 Build 7601 Service Pack 1
Sample code below:
#include <memory>
class TestA
{
public:
TestA(){}
void FooInA(){} // Execute "Find References" should find in TestB::CallerInB()
};
class TestB
{
public:
TestB(){}
void CallerInB()
{
m_pA->FooInA();
}
std::tr1::shared_ptr<TestA> m_pA; //<-- fails in VS2015/ succeeds in VS2008
//std::shared_ptr<TestA> m_pA; //<-- succeeds in VS2015
};