Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我无法在 Boost.Any 和 Boost.Variant 之间进行选择。 我应该什么时候使用每一个?
各自的优点和缺点是什么?
我基本上希望从外部来源存储一些状态。
您已经看过变体库中的比较了吗?
(不确定来自外部来源的状态是什么,所以很难说什么更适合你。)