Hi List,
Is it possible to store this kind of struct in a UserData (map or blob):

struct Foo{
    std::vector<double> A;
    std::vector<double> B;
    bool C;
    bool D;
};

I can pull out the structure, and the vectors have the good number of
item...but they are empty, the values are gone

I'm not sure, but I think it's lost because of the size parameter in
UserDataMap.PutItemValue
I tried to set the real size ( sizeof(vector)+ sizeof(double)*vector::size()
) but this gave me some crazy results.

Any idea?

Thanks

-----------------------------------------------
Ahmidou Lyazidi
Director | TD | CG artist
http://vimeo.com/ahmidou/videos
http://www.cappuccino-films.com

Reply via email to