Boost Any is one of the BoostLibraries. See http://www.boost.org/doc/html/any.html
It provides a class which can hold a single variable of a number of different types, providing an interface for polymorphic programming in CeePlusPlus.
For an example of its use see LogicProgrammingInCpp -- JohnFletcher