I have a boost variant and I want to assign values to it. The code looks like..
boost::variant <int, std::vector<int>,std::vector<float> > MyVariant;
How can I assign values to, int, vector of ints and vector of floats. Simple assignment is not working.