Hi,

 

I have a vector:

 

Std::vector <std::pair< std::string, wxAny> > myParameters;

 

I need to serialize this as part of the class it belongs to and I’m confused as to how to do it, given that the wxWidgets wxAny class isn’t supported by Boost.  A colleague suggested using lexical cast and I think I can see how this would help if I was just serializing an individual wxAny variable, but how would I cope with it within the vector?  I’m serializing out to XML, if this is an issue.

 

Can anybody help, please?

 

Best wishes.

 

Tim Burgess

Raised Bar Ltd

Phone:  +44 (0)1827 719822

 

Don't forget to vote for improved access to music and music technology at

 

http://www.raisedbar.net/petition.htm