21 Sep
2013
21 Sep
'13
11:46 a.m.
That looks very interesting, but I have a couple of questions: Why did you not make the app framework a base class that is extended by the application? It seems to me that would allow you to enforce the API (by making the application entry point pure virtual), make passing in the parameters and control easier (make them members of the base class), and potentially handle main() (base class has a list of applications to run, application ctor registers in list, application is a static instance). Also, it would be nice to have a getops style arg parser function, so that you could help automate getting args and generating help messages for command line apps.