Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2004-02-22 20:08:57


> mpl::for_each<mpl::transform<s, wrap<_1> >::type>(foo());

I saw this in mpl::for_each test. It may probably solve my problem. But is
tyhe more generic solution? Or why doesn't for each pach mpl::identity in a
first place? Or could we eliminate parameter at all and make for_each to
work with explicit type specialization, like this:

aux::unwrap(f, 0)::operator()<arg>();

Gennadiy.


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