$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-04-10 11:23:51
"Alexander Nasonov" <alnsn_at_[hidden]> wrote in message
news:a91ifj$ocd$1_at_main.gmane.org...
> I already posted something sililar to boost:
> http://listarchives.boost.org/MailArchives/boost/msg27859.php
Cool. Ideas: Visitor could be Loki's own - if Loki's visitor is ever
added to boost, it would be a nice example of internal reuse. Then, as
a complement to 'any' or, dare I say, maybe even a replacement, maybe
later we'd add Variant (search "Discriminated Unions" with google) to
boost.
If anyone's interested, I have a series on discriminated unions going
right now on cuj.com. I will soon discuss unbounded discriminated
unions, which are a particular case, and which do what 'any' does (and
more), within a larger framework.
Andrei