Questions tagged [boost-variant2]

The alternative implementation of a variant type in the Boost software library collection, which is never valueless.

1 questions
3
votes
1 answer

Why are there two variant class implementations in Boost?

Boost seems to have two implementations of a variant class template: boost::variant boost::variant2 It is rare (though not unheard of) for Boost two include two takes on the same concept. Why has this happened for variants? How do these variants…
einpoklum
  • 118,144
  • 57
  • 340
  • 684