boost::variant2::variant_alternative相关的测试程序
实现功能
boost::variant2::variant_alternative相关的测试程序
C++实现代码#include <boost/variant2/variant.hpp> #include <boost/mp11.hpp> #include <boost/core/lightweight_test.hpp> #include <boost/core/lightweight_test_trait.hpp><