
8 Aug
2008
8 Aug
'08
10:49 p.m.
AMDG peter_foelsche@agilent.com wrote:
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> > > { };
http://www.boost.org/doc/libs/1_35_0/doc/html/variant/tutorial.html#variant.... In Christ, Steven Watanabe