Hello.
test.h:
#pragma once
namespace A
{
class CTest
{
public:
CTest();
~CTest();
};
}
test.cpp:
#include "StdAfx.h"
#include "Test.h"
namespace A
{}
Use "create implementation" on CTest::CTest -> test.cpp:
#include "StdAfx.h"
#include "Test.h"
namespace A
CTest::CTest()
{
}
{}
It only happend if "{" and "}" ( from namespace ) are on the same line ( in test.cpp )