Subject: [boost] [Fusion] Some ideas
From: TONGARI (tongari95_at_[hidden])
Date: 2013-02-02 02:52:21
Here are some ideas come up when writing some associative mapping
I think it'd be nice to have:
* Auxiliary function 'eval' to force the evaluation of transform-like view
e.g. fusion::eval(fusion::transform(a, b, some_void_return_ftor))
* Conversion function 'as_view' to make Container a view to reserve the
What do you think? Are these already achieved in some way that I didn't
BTW, I just implemented left_mapping/left_mapped_view, it's used like
result = left_mapping(m1, m2, transform);
For elements not mapped, fusion::void_ is passed to transform.
Still mapping & full_mapping to do...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk