Boost::any? http://www.boost.org/doc/libs/1_57_0/doc/html/any.html -----Original Message----- From: Boost-users [mailto:boost-users-bounces@lists.boost.org] On Behalf Of U.Mutlu Sent: Tuesday, February 17, 2015 6:35 AM To: boost-users@lists.boost.org Subject: [Boost-users] generic vector Hi, I need to have a std::vector in my program, but it's type will be known only when it runs, ie. the type will be provided via a program param. The possible types are limited to these: int64_t, uint64_t, double, std::string. Is there a solution in boost or C++11 for this kind of problem? -- TIA Uenal _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users