Boost logo

Boost Users :

Subject: Re: [Boost-users] [Fusion] How to join more than two sequences
From: Clinton Mead (clintonmead_at_[hidden])
Date: 2010-09-21 20:31:44


On Wed, Sep 22, 2010 at 1:22 AM, Larry Evans <cppljevans_at_[hidden]>wrote:

> Couldn't fold be used to join any number of sequences?
>
> -Larry
>
>
Hi Larry

Something like?

? join_all(seq)
{
  return fold(seq, vector<>(), join<?, ?>());
}

Could you fill in the question marks?



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