Boost logo

Boost :

From: herve martin (hervemart1_at_[hidden])
Date: 2021-11-28 19:55:22


 When working with view of boost::fusion I feel something frustrated
because of the limited set of possible constructors.

Indeed, apart from copy constructor, views usually only provide
constructors taken l-value reference on sequence as input. I would like to
extend the constructors set of views with some new ones which would also
accept r-value references on view as input.

This would allow some fancy combination at construction time as for example:

vector <><bool>
char> v1(3, 'x');vector
int> v2("hello", 123);
using view1 = joint_view<
    vector <><int,
  , vector <><std::string,
int>>;using view = joint_view< vector
     , view1>;

view aview = view(v0, view1(v1, v2));std::cout << aview << std::endl;

 I would be glad to contribute to the boost library by updating the
boost::fusion views with some new constructors bu I'm not familiar with
development in boost.
What would be the next step to give a chance to my proposal to integrate
boost ?

Best regards,

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