|
Boost Users : |
Subject: Re: [Boost-users] [fusion] how apply action to to subset of fusion sequence
From: Joel de Guzman (joel_at_[hidden])
Date: 2011-11-28 02:13:26
On 11/28/2011 8:03 AM, Gennadiy Rozental wrote:
> Hi,
>
> I need to apply action to first N elements in fusion sequence. What the best way
> to achieve it?
You can use an iterator_range that points to the first N
and apply your algorithm over the range.
Regards,
-- Joel de Guzman http://www.boostpro.com http://boost-spirit.com
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