Boost.Any vs. Boost.Variant

前端 未结 1 504
滥情空心
滥情空心 2021-01-31 14:19

I\'m having trouble choosing between Boost.Any and Boost.Variant.
When should I use each one?

What are the advantages and disadvantages of each?

I am basi

相关标签:
1条回答
  • 2021-01-31 14:43

    Have you looked at the comparison in the variant library already?

    (Not sure what states from external sources are, so it's kind of hard to say what's more appropriate for you.)

    0 讨论(0)
提交回复
热议问题