Question

I have C++ code and VA works nicely but I kind of dont like that when I go to

MyClass::MyClass(const std::string& arg);

and try to find references it finds references of MyClass, not just this specific ctor. Can desired behavior be achieved?

Was it helpful?

Solution 2

According to this post on their forum, it has not been implemented yet.

They cite the increased difficulty in detecting object construction vs. explicit member access.

OTHER TIPS

Although this functionality still not available in VS2013 SP3 there exists a workaround. Some may consider it a huck but what works for me is to change constructor signature (by introducing additional unused argument) and recompiling entire solution. Let compilation errors point out all invocations. No VA is needed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top