
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