Boost logo

Boost :

From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-02-18 03:53:26


> I know Andrei Alexandrescu's paper describes how to create a variant
> type at <http://www.oonumerics.org/tmpw01/alexandrescu.pdf>, but I have
> been unable to find an actual source implementation that can be used
> unchanged in a application today.

It's funny. When I submitted the paper to TMPW01 I submitted functional
code, too, but somehow the code never made it on the oonumerics page.

You can download it from http://moderncppdesign.com/variant/Variant.zip. The
code's rather old and I didn't have the time to write thorough tests, so I
suspect there are a couple of bugs and many opportunities for improvement.

Andrei


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk