Boost logo

Boost :

From: Hugo Duncan (hugoduncan_at_[hidden])
Date: 2003-01-22 18:34:37


On Wed, 22 Jan 2003 18:23:50 -0500, "Rozental, Gennadiy" <gennadiy.rozental_at_[hidden]> wrote:
> > I have looked for code to copy in test/examples/mpl paper and
> > have not found anything similar to what I need (which doesn't
> > mean it isn't there somewhere). Any pointers? Is this possible?
> use for_each

I tried. for_each seems to default construct an instance of each type,
which is unfortunately not possible for my application.

Is this what you had in mind? What I am I missing?

mpl::for_each<my_list,_>(&my_function<_1>(s));


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