Boost logo

Boost :

From: Dave Gomboc (dave_at_[hidden])
Date: 2004-05-05 02:18:30


> I'm not sure what your question is. Generative programming
> itself is a design process/idiom. I can't really imagine how
> you'd directly support it with a library, though of course we
> have lots of tools in Boost that can be used to practice
> generative programming.

Indeed, my original message missed the mark -- perhaps I'm not sure what
my question is either. :-/ Let me try again.

I'm wondering about support for the automatic assembly of components as
described in [CE2000], based upon defining mandatory and variable
(optional and alternative) features of components, plus the creation of
domain-specific languages (a la Spirit), but particularly for component
configuration. Of course, boost::mpl aides the specific task of static
template metaprogramming.

Chapters 13 and 14 of the book contain examples of generative
programming applied to bank accounts and to matrix computation. It'd be
of value if there was an reimplementation of these that used parts of
boost as applicable. I think I've more-more-than-less grokked chapter
12 (the list generator).

Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk