21 Mar
2015
21 Mar
'15
6:18 p.m.
On 20/03/2015 19:44, Louis Dionne wrote:
It's essentially the same thing than with MPL/Fusion, except there's a bit more syntactic sugar because of C++14 features. Also, this example showcases how low the syntactic cost of the MPL/Fusion unification is. The only place where we need to bridge between types and values is
using tuple = decltype( hana::unpack(sorted_types, hana::template_hana::_tuple) )::type;
which is (IMO) not too cumbersome.
I find it very clear and nice to read (much nicer than the MPL code),
except for that final tuple_t to _tuple conversion.
I had to read through the documentation to understand this bit, though I
suppose something like a transform with [](auto t) { return
make