摘要: boost::variant #include <boost/variant.hpp> #include <string> #include <iostream> int main() { boost::variant<double, char, std::string> v; v = 3.14; 阅读全文
posted @ 2021-08-31 10:58 苏格拉底的落泪 阅读(154) 评论(0) 推荐(0) 编辑