c++ - Script for separating implementation from headers in a .h file -


Sometimes, while working with small sections, there is a pain in the ass to separate the implementation in the ACP file. , So I put all the code in the header file (kids, do not do this).

However, eventually these sections get big time and I should separate that which I did not initially.

The fact is that it is a mechanic process that can be done entirely like a script or something, and I fixed Thought is there.

So, you know about any script that can get .f file, all functions are implemented with the bodies, and then a hidden .h file and a good Way filled Return CPP file?

I am also guilty of this - though I have never before been able to automate the partition Never thought, because usually to touch related project and test files.

The idea of ​​automating it is interesting, though. The best tool I see is this:



Comments