摘要: std::variant介绍:en.cppreference.com/w/cpp/utility/variant 通过泛型模板(仅提供了int, double, string三种类型的存储),实现了append, pop, front, back, size等方法,并且通过重载运算符实现了对负数索引 阅读全文
posted @ 2023-09-08 21:12 ChebyshevTST 阅读(65) 评论(0) 推荐(0)