Peter Soetens wrote:
Someone with strong knowledge of all this needs to take my example + the existing codebase to something that does what is promised by the concept docs.
How about posting this information in the form of a TRAC item. I'll look at it when I have the time.
The attached file is how the class lives in my current project, in the RTT::marsh namespace. I fixed my unit tests, and the class in attachment now works 100% for: * marshalling primitive types (non pointer) * marshalling structs/classes similar to std::vector, but which contain non-pointer data.
It's not looking how I had imagined/hoped for, but it does the trick for me now. I'm happy to stick on this thread, but I'm not going to be able to solve this or make this an example that meets your expectations. It also looks that this thread no longer belongs on boost-users but on the boost list.
To end with a positive note: I'm very happy how the separation between serialization and archiving has been (or has intended to be) done. It allows me to tap in a real-time archiver and re-using all serialization code. That's so cool. I checked the now working implementation again (stepped through the debugger as well) and it truely works for my test set.
Good to hear. Sounds like we're batting at least .500 Robert Ramey