FindDefinition entirely in C++