
Arkadiy Vertleyb wrote:
"Andrei Alexandrescu (See Website For Email)" <SeeWebsiteForEmail@moderncppdesign.com> wrote
... So I think it's entirely reasonable that building boost might generate C++ using *other* tools. I bet such an approach would lead to more maintainable and easy-to-understand code (only requiring knowledge of general tools that should be in a boost developer's toolchest anyway) instead of using the PP programming paradigm, of which learning I believe is less rewarding.
Interesting... Can you provide an example of how would such a tool generate C++ based on the library user input... Lets just start with the simplest one: the user wants to set maximum size of the mpl::vector<> to 50... Can you explain how that would be achieved with an external tool?
For example, we can have a python script that will generate header files for vector0 .. vector50 given some user supplied configs (with defaults). I remember some people doing that before boost PP became the norm (e.g. boost.python). However... see my other post. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net