Can you please provide a more specific description? I wasn't able to reproduce this with the following code snippet:
code in the cpp file:
namespace nTest {
class cTest
{
};
}
void nTest::cTest::TestMethod() {}
If I use Create Declaration on the last line, I get this:
namespace nTest {
class cTest
{
void TestMethod();
};
}
void nTest::cTest::TestMethod() {}
I also get the correct result, when I place the definition into the namespace, but outside the class.
Can you please try this simplified example in a new win32 test project just to see if this work on your computer?
What IDE do you use?
What modification would you do if we had a snippet for Create Declaration?