C++ forward class declaration generator
Is there a tool that开发者_如何转开发 would go through a list of files and would spit out a header file with forward declarations of classes it encounters? Ideally, I would like to integrate it into Visual C++'s build process.
Not that I know of. But I guess that all that you want are class names, so grep, awk or something like that would do the job.
You can grep and save replacements to a file.
精彩评论