Open Welgriv opened 1 year ago
with a.hpp and a.cpp in the same directory.
a.hpp:
class C // class C omg { void f(); };
gives in a.cpp:
#include "a.hpp" void omg::f() { }
while
class C // class C { void f(); };
gives
#include "a.hpp" void C::f() { }
which is correct, but even more strange:
class C // a comment { void f(); };
#include "a.hpp" void f() { }
with a.hpp and a.cpp in the same directory.
a.hpp:
gives in a.cpp:
while
gives
which is correct, but even more strange:
gives