
23 Feb
2004
23 Feb
'04
1:08 a.m.
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.