Wondering around new C++ refactoring tool - AppCode I had a few simple questions: how to move class to a file with corresponding name (namespace/name.h), how to move a function declared in .h
to .cpp
, how to move back?
So I had a sample code we want to move:
We'll get a fun.h
with next code:
#ifndef __fun_H_
#define __fun_H_
#endif //__fun_H_
and fun.cpp with all our class in it (declaration + implementation).
What do I do wrong? how to move class into a new .h file with name corresponding to it in AppCode?