|
Boost : |
Subject: Re: [boost] An extension to boost::variant
From: Chandrashekhar Kumar (iitk.cs_at_[hidden])
Date: 2009-02-09 16:41:19
>
> It is already stated in the documentation that the resulting boost::variant
> ..
No need to get
> too excited over this...
Please read the documentation again and you will find the same answer
already given to you.
>
> I want to use boost::variant
> for *runtime polymorphism*. That is, the boost::variant<...> would be
> an argument type in a non-templated function. This function is meant to
> be exposed directly to the user in an API. Thus, for each of these
> functions, I'd have to wrap it in a templated wrapper which does the
> type_traits magic. Why not address it in a single place, ie: in the
> boost::variants class?
>
> I'm a little tired of running in circles here. Anybody else care to
> weigh in on the issue?
>
May be someone will do the complete home work for you. Here people are very
liberal n giving.
-Cat
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk