|
Boost Users : |
Subject: Re: [Boost-users] [Phoenix] for_each calling push_back for stl containers
From: Ryan (boost_at_[hidden])
Date: 2012-07-09 18:07:09
On Mon, Jul 9, 2012 at 2:57 PM, Nathan Ridge <zeratul976_at_[hidden]> wrote:
>
> Actually that's not true. Without using Phoenix at all, just using
> Boost.Range,
> this is simply:
>
> boost::push_back(string_tokens, tokens);
>
Interesting, I'll have to take a look at boost range.
As for your question about why Phoenix for_each requires a lambda, I'm
> afraid I
> don't understand Phoenix well enough to answer that. Perhaps Thomas can
> help us.
Lets hope he weighs in then. I would really like to understand this
sticking point.
Ryan
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