I have a Component that has a member of type set<unsigned int> which holds a bunch of Component IDs from the scene. I’m trying to serialize this such that I can use the Scene’s SaveXML() and LoadXML() functions, but I’m not having any luck figuring out how to get the macros to work. It seems that they rely on Variant having an operator=(const set<unsigned int>& rhs) which it doesn’t, and I can’t figure out how to add it.
How do I serialize attributes that are of a type Variant wont accept? Thanks.