Serialisation

Hello everybody,
I'd like to ask you if anyone use or participate on a project to serialize any object without use boost or any library.
Just for information I begin to serialize primitive(int, char..) type but, class or strut I have some difficulties, so if you have any idea, it can be useful for me.
thanks a lot.
The best way to model serialization is in a manner similar to that of boost.serialization.

To serialize an aggregate requires a special function to be written for that aggregate because C++ does not support introspection.
thank you for your response, I totaly agree with you. My project is to define a struct that contains a list of element, refers to attributes of classe.
I 'd like to send you my code if it's possible and I hope that you have any time to advice me.
thanks a lot
You can send it to me via PM if you'd like, though I can't promise anything. Serialization is rather involved, and I cannot post the code I have for a custom lightweight serialization library.
Topic archived. No new replies allowed.