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_r...
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