//h. file
class A{
#ifdef _DEBUG
//-?+++?+?+?-?-++?+?+?+?+?-?+?-?+?-?+?+?+?-?+?+?+?-?+?+?+?+?-?-?-++?+?-?+?-?-?-++?,+?+?-?+?X_DUMP+?+?+?-?+?+?
virtual void Dump( CDumpContext& dc ) const;
#endif
public:
//+?+?-?+?+?+?-?+?InsNode-?+?-++?+?+?+?+?+?-?+?+?
static BOOL IsCanFormNode_S(const impGjBeam*pb1,const impGjBeam*pb2);
};
//cpp file
#ifdef _DEBUG
void impBBInsNode::Dump( CDumpContext& dc ) const{
CString str;
str.Format(_T("+?+?-++?%4d: "),Index()+1);dc<<str;
str.Format(_T("ID=%5d, "),ID());dc<<str;
dc<<_T(").\\r\\n");
}
//new created function by va Refactor Create Imp
/*static*/BOOL impBBInsNode::IsCanFormNode_S(const impGjBeam*pb1,const impGjBeam*pb2)
{
}
#endif
But I think the IsCanFormNode_S should outside the Macro-Block!,conversely,do like this only when the declare is inside the Macro-block in .h file.