Ok, I get your point but we are talking of C++ and Ada basically, classical I agree that dedicated functional languages are way more expressive, but you can do nice things at compile-time with these template mechanisms of C++, especially with templates of templates (ie policy based classes) "Kaz Kylheku" a �crit dans le message news: 08ce7.63859$B37.1480312@news1.rdc1.bc.home.com... > In article <9lb6h4$6e9$1@norfair.nerim.net>, Bertrand Augereau wrote: > >I didn't want to state that this is superior to Ada 'Image approach, which > >is quite useful for quick hacks and debugging purpose, but I guess you > >underevaluate the true power of C++ (especially in metaprogramming) > > The metaprogramming power of C++ is quite pathetic. Templates are a weak > macro system that is compromised for the sake of compiling simplicity. > All they do is stuff arguments into an existing form to produce a > function or class. If templates could contain code which computes the > form, then they might be called powerful. > > Only those call C++ powerful who have no experience with more powerful > languages.