|
Boost Users : |
Subject: Re: [Boost-users] [iterator] - does there exist an opposite of Function Output Iterator?
From: Michael Fawcett (michael.fawcett_at_[hidden])
Date: 2009-02-05 23:10:12
On Thu, Feb 5, 2009 at 10:47 PM, David Abrahams <dave_at_[hidden]> wrote:
>
> on Thu Feb 05 2009, Michael Fawcett <michael.fawcett-AT-gmail.com> wrote:
>
>> 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.
Right, it doesn't belong in Boost.Iterator.
>> I think it nicely complements function_output_iterator.
>
> Then maybe function_output_iterator ought to be moved into the lambda
> lib ;-)
I only meant it seemed nice to have the converse available in the same
form, not as a lamba construct. I'll stick with my little solution
for now.
--Michael Fawcett
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net