Hi,
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 https://www.boost.org/doc/libs/1_77_0/libs/fusion/doc/html/fusion/container/...<bool>
v0(true);vector
https://www.boost.org/doc/libs/1_77_0/libs/fusion/doc/html/fusion/container/... v1(3, 'x');vector
https://www.boost.org/doc/libs/1_77_0/libs/fusion/doc/html/fusion/container/... v2("hello", 123);
using view1 = joint_view<
vector https://www.boost.org/doc/libs/1_77_0/libs/fusion/doc/html/fusion/container/...
, vector https://www.boost.org/doc/libs/1_77_0/libs/fusion/doc/html/fusion/container/...>;using view = joint_view< vector
https://www.boost.org/doc/libs/1_77_0/libs/fusion/doc/html/fusion/container/...<bool>
, 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,
Herve