Java Library for generating C++ Source Code
I'm working on a Java project and am looking for a library that creates C++ source code, much like Java Code Model (discussed here: A Ja开发者_开发问答va API to generate Java source files).
I answered a similar question, but for Java code. The generation technology is language neutral, but your success will depend on how much of your design you can encode in the templates (as in the Java example). I think the other approach in which you try to code your entire app in the model and then have all your code generated for you will never be more than a fantasy, however.
精彩评论