Boost logo

Boost Users :

Subject: Re: [Boost-users] Metaprogramming + Multiple Inheritance?
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-09-04 19:35:29


on Sun Sep 04 2011, Hossein Haeri <powerprogman-AT-yahoo.com> wrote:

> 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net