Hi
I want to store variant object in my property tree. The variant for now
will have only 3dPoint object, but it should vary multiple types in future.
I tried the following code , and I am getting compiler errors. I know
that maybe I need to write some kind of translation code for this to
work,but don't know how to do that exactly and having hard time to grasp
the concept. So how can I do this if possibly at all ? A code example
would be great
class 3dPoint
{
public:
3dPoint(double,double,double);
double x;
double y;
double z;
};
typedef boost::variant