使用boost::mp11::mp_unique进行类型列表的去重[C/C++]:
#include <boost/mp11.hpp>
#include <type_traits>
// 定义一个类型列表
using type_list = boost::mp11::mp_list<
使用boost::mp11::mp_unique进行类型列表的去重[C/C++]:
#include <boost/mp11.hpp>
#include <type_traits>
// 定义一个类型列表
using type_list = boost::mp11::mp_list<