$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2006-11-24 15:40:10
I would have liked to wrap boost.variant<Base, Derived1, Derived2 ..
DerivedN> into a smart reference that would act like a reference to Base.
Unfortunetely, the variadic template nature makes this extremely
complicated, especially since there are a lot of conversions cases to
handle too (<Base, Derived1..DerivedN> should be convertible to
<BaseOfBase, Base, Derived1..DerivedN>).
Is there any way to code that kind of thing easily?