$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Markus Werle (yg-boost-users_at_[hidden])
Date: 2003-06-27 07:59:22
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/