Hi.
I noticed a few problems with the Find References. It does not work properly with constructors, destructors and overloaded operators.
In the sample code below, if I run 'Find References' on one of the constructors or the destructor, VA list me all the occurrences of the class name. If I run it on operator=(), I get an error message "Find References is not available because the symbol is unrecognized."
Regards,
Xavier
#include <iostream>
#include <string>
class Foo
{
public:
Foo(std::string const& name);
~Foo();
private:
Foo(Foo const& ref);
Foo& operator=(Foo const&);
std::string name_;
};
Foo::Foo(std::string const& name)
: name_(name)
{
}
Foo::~Foo()
{
}
Foo::Foo(Foo const& ref)
: name_(ref.name_)
{
}
Foo& Foo::operator=(Foo const& ref)
{
name_ = ref.name_;
return *this;
}
int main(int argc, char* arg)
{
Foo("bar");
return 0;
}
My setup:
VS2013 Pro
Windows 8.1 Pro 64bit EN
VA build 2062