使用boost::pfr::detail::fields_count的测试程序
#include <iostream>
#include <boost/pfr.hpp>
struct Person {
std::string name;
int age;
使用boost::pfr::detail::fields_count的测试程序
#include <iostream>
#include <boost/pfr.hpp>
struct Person {
std::string name;
int age;