
on Sun Sep 04 2011, Hossein Haeri
Hi Dave, There is a fine line between Generic Programming in general and metaprogramming. My personal feeling is that Andrei's works -- and PBD in general -- are good instances for Generic Programming. Yet, I don't seem to register them per se as metaprogramming. I understand that this might be a very personal viewpoint. I say this because I had a try and couldn't quite put my reasons into words.
Andrei isn't focusing on metaprogramming (nor on generic programming as I understand the term); but he is _applying_ metaprogramming techniques to classic OO design patterns (such as visitor). As such that makes a very good example of what you're asking about. -- Dave Abrahams BoostPro Computing http://www.boostpro.com