This example demonstrates marshalling objects in a Boost Intrusive rbtree to and from a file. The Middle code is:

    message_helper
       (rbtree<Base>)
    }
base_ex.hh defines class named Base.
derived_ex.hh defines class named Derived.
zz.message_helper.hh Generated header file.
rbtree_marshalling.cc puts the pieces together in a main().
makefile


Home