Alan Tennant wrote:

>Thanks for the info. Can it be done (at all, at the moment, elegantly, practically, by turning a std::type_info into a type) ?

Depending on exactly what you are trying to do, the Boost.Variant library may be more useful than Boost.Any.