Simon's working example
This version segfaults when calling loader
fixed segfault
works with shared ptr
added boost example
cleaned up and added a direct object serialization. Serialization via reference to base does not work.
serialization of reference to base does not work