C++中boost::mp11::mp_count的用法示例
#include <iostream>
#include <boost/mp11.hpp>
// 定义一个类型列表
using types = boost::mp11::mp_list<int, float, double
C++中boost::mp11::mp_count的用法示例
#include <iostream>
#include <boost/mp11.hpp>
// 定义一个类型列表
using types = boost::mp11::mp_list<int, float, double