在答案中
什么是C++标准库中的boost :: variant?
它被提到boost::variant并且std::variant有所不同.
boost::variant
std::variant
(动机是boost::variant在前C++ 17代码中使用)
c++ boost variant boost-variant c++17
boost ×1
boost-variant ×1
c++ ×1
c++17 ×1
variant ×1