27 Jun
2003
27 Jun
'03
12:59 p.m.
Peter Dimov wrote:
Workaround:
std::string (*pf)(std::string const &) = &Foo;
for_each_pair(M.begin(), M.end(), l::bind(pf, l::_2));
... which is a perfect reason for requesting the feature I asked for :-) Well, I use this workaround in some places, but then the code using iterators is as readable like this one, so there is no advantage left for using lamda :-( Anyway thanks for the explanation. Markus -- Build your own Expression Template Library with Daixtrose! Visit http://daixtrose.sourceforge.net/