
8 Aug
2008
8 Aug
'08
10:39 p.m.
nope -- shared_ptr is not necessary -- auto_ptr would suffice: #include <boost/variant.hpp> #include <vector> #include <memory> struct CSkillType:boost::variant<int, double, char, std::string, std::auto_ptr<std::vector<struct CSkillType> > > { };