Boost logo

Boost Users :

Subject: Re: [Boost-users] [iterator] - does there exist an opposite of Function Output Iterator?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-02-05 12:33:54


AMDG

Michael Fawcett wrote:
> http://www.boost.org/doc/libs/1_37_0/libs/iterator/doc/function_output_iterator.html
>
> Shows a unary function being adapted as an OutputIterator. Does Boost
> have something that does the opposite, i.e. takes an OutputIterator
> and adapts it as a unary function object?
>
> In my own code I currently have:
>
> <snip>
>

using namespace boost::lambda;
*var(i)++ = _1;
?

In Christ,
Steven Watanabe


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