$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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