Bug #1640
Updated by Zbigniew Rebacz about 8 years ago
Example:
<pre><code class="cpp"> <code>
// MyStaticClass.h
namespace A {
class MyStaticClass {
public:
static void PrintLogToConsole(const std::string& log);
}
}
// MyStaticClass.cpp
using namespace A;
MyStaticClass::PrintLogToConsole(const std::string& log) { ... }
// Another file
#include "MyStaticClass.h"
MyStaticClass:PrintLogToConsole("Ultimate++"); // Jumping to PrintLogToConsole doesn't work...
</code></pre> </code>
Will test - this is the basic re-implementation of legacy code.
<pre><code class="cpp"> <code>
// MyStaticClass.h
namespace A {
class MyStaticClass {
public:
static void PrintLogToConsole(const std::string& log);
}
}
// MyStaticClass.cpp
using namespace A;
MyStaticClass::PrintLogToConsole(const std::string& log) { ... }
// Another file
#include "MyStaticClass.h"
MyStaticClass:PrintLogToConsole("Ultimate++"); // Jumping to PrintLogToConsole doesn't work...
</code></pre> </code>
Will test - this is the basic re-implementation of legacy code.