From: peter_foelsche_at_[hidden]
Date: 2008-08-08 18:39:20


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> > >
{
};