22 Sep
2010
22 Sep
'10
12:33 p.m.
On 09/21/10 19:31, Clinton Mead wrote:
On Wed, Sep 22, 2010 at 1:22 AM, Larry Evans
mailto:cppljevans@suddenlink.net> 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?
To be honest, I really was only guessing fold would work. I've never actually used it do to something like this; hence, I'm not the best person to help you :( However, I'm wondering why: http://www.boost.org/doc/libs/1_44_0/libs/fusion/doc/html/fusion/algorithm/i... doesn't help oneself 'fill in the question marks'? -Larry