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 - http://www.boost.org/more/download.html#CVS

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

On which compiler? Anyway, I beleive things have much improved since then -
http://www.meta-comm.com/engineering/resources/cs-win32_metacomm/developer_result_page.html#variant

> 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 - http://www.boost.org/libs/optional/doc/optional.html).
Personally, I am not aware if any other discriminated union library that
would be as powerfull and well-engineered as Boost.Variant.

HTH,
Aleksey


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net