Boost logo

Boost Users :

From: Aleksey Gurtovoy (alexy_at_[hidden])
Date: 2003-08-17 07:33:56

vivek_arora wrote:
> Whats is the status of the variant library which was supposed
> to have been approved for inclusion?

It's going to be included in the next major Boost release (1.31, presumably
a couple months away). Meanwhile, you can get the latest version of it from
the Boost CVS repository -

> I was unable to compile the code submitted for review.

On which compiler? Anyway, I beleive things have much improved since then -

> Are there any alternative ways/libraries for representing typesafe
> unions ?

Not in Boost (unless you are interested in the special case covered by
Optional library -
Personally, I am not aware if any other discriminated union library that
would be as powerfull and well-engineered as Boost.Variant.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at