17 Jul
2017
17 Jul
'17
9:03 p.m.
Joaquin M López Muñoz wrote:
Something more generic can be provided
struct mp_mpl_sequence_folder { template
struct apply{using type=mp_push_front ;}; }; template<typename MplSequence> struct mp_mpl_sequence_impl:boost::mpl::reverse_fold< MplSequence, mp_list<>, mp_mpl_sequence_folder
{};
template<typename MplSequence> using mp_mpl_sequence=typename mp_mpl_sequence_impl<MplSequence>::type;
How about we provide it in MPL instead?
namespace mpl {
template