
Hello,
I am currently learning about mp11 from the docs . While mpl had an
iterator functionality to get an alias over a type in mp_list it seemed
mp11's mp_rest could be used for a similar task. So I coded up a simple
example of recursing over a type list based on some type check , but am
quite lost trying to make it work . So a possible pseudo code for the above
might be
template<typename list>
struct recurse{
using rest_of_list=mp_rest<list>;
using type = typename std::conditional<
mp_empty
::type; } Is this even possible or there exists some other method to do the same in mp11. Thanks.
-- Sent from: http://boost.2283326.n4.nabble.com/Boost-Users-f2553780.html