Boost logo

Boost Users :

From: peter_foelsche_at_[hidden]
Date: 2008-08-08 18:01:49


I'm trying to create a type of argument which can occur in the language skill. What do you think? Any other suggestions?

#include <boost/variant.hpp>
#include <vector>
#include <boost/shared_ptr.hpp>

struct CSkillType:boost::variant<int, double, char, std::string, boost::shared_ptr<std::vector<struct CSkillType> > >
{
};

A method callable from skill (and provided in some DLL) would probably look like:

CSkillType function_name(const CCppDataInterface &_rCPPData, const std::vector< CSkillType> &_rSkillArgs);


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net