|
Boost : |
Subject: Re: [boost] [GSoC][MPL11] Post C++Now update
From: Louis Dionne (ldionne.2_at_[hidden])
Date: 2014-05-19 13:42:16
Hartmut Kaiser <hartmut.kaiser <at> gmail.com> writes:
[...]
> FWIW, I 100% agree with Joel. Having MPL and Fusion separate is definitely
> the way to go. Fusion is named the way it is for a reason! If you wanted to
> combine MPL and Fusion you would have to combine it with the STL by simple
> extension as well.
I think it totally makes sense to adapt some components of the STL. Constexpr
containers like `std::array`, `std::tuple` and `std::integer_sequence` are
straightforward, but runtime-only containers like `std::vector` are giving
me problems right now. I'm searching for a solution. See [1] for an example
of using `std::array`.
> Moreover, Christopher Schmidt finished a full C++11 rewrite of Fusion during
> GSoC 2009. It might be a good idea to go back and look what he came up with.
Thanks for the heads up. Is there a link to that code, or is it already
in the Boost distribution? I did find a C++11 implementation of fusion::map
in fusion/container/map/detail/map_impl.hpp, but is that all?
Regards,
Louis Dionne
[1]: https://github.com/ldionne/hana/blob/master/test/std_array.cpp
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk