
5 Feb
2009
5 Feb
'09
8:47 p.m.
on Thu Feb 05 2009, Michael Fawcett <michael.fawcett-AT-gmail.com> wrote:
Thanks, as always, Steven.
While clever, Boost.Lamba seems like overkill for this extremely simple task. Is it your experience that it would generate code as efficient as what I originally posted?
Should be easily as efficient.
Do you feel that such functionality doesn't belong in Boost.Iterator?
I definitely think it doesn't. Boost.Iterator is about constructing iterators. You're constructing a function. Boost.Lambda or Bind or Pheonix are the right tools for that job.
I think it nicely complements function_output_iterator.
Then maybe function_output_iterator ought to be moved into the lambda lib ;-) -- Dave Abrahams BoostPro Computing http://www.boostpro.com