> IMO, when you begin to need a code generator, it's a very strong sign
> that your underlying interface is too complicated.
Hm - a compiler is a code generator. They were made up because assembly became too cumbersome and complex for large projects.. I don't think a code generator is inherently evil...
Think of it as a message generator. The messages just happen to be encoded in registers, etc...
Offtopic:
Re: STL, I prefer Haskell for generic programming than C++ ;-)
The main problem with generic programming for me is that you
really *need* to spend the 1 month on an algorithm to be
convinced it is generic enough... but I digress.
Rob