Boost logo

Boost :

Subject: [boost] [fusion] flatten/flatten_view Proposal
From: TONGARI J (tongari95_at_[hidden])
Date: 2013-10-23 10:30:36

Hi there,

I've created the ticket, doc&test included

'flatten' is an algorithm which returns a view that allows you to go
through the leaf elems sequentially.

For example:

    flatten(make_vector(1, make_vector(2, 3))) == make_vector(1, 2, 3)

This is developed when I use Fusion to work with SQL for simple data

In addition to 'flatten', 'support/ref' is also provided in this patch for
working with mutable sequence, which I had talked with Joel sometime ago.

BTW, I think the ticket below is OK to close (the patch seem applied):


Boost list run by bdawes at, gregod at, cpdaniel at, john at