Search code examples
serializationboost-graph

how to serialize boost graph, can somebody give me an example?


I know boost serialization can do this, but I cannot find an example. Can somebody give me an example?

Additionally, I have an array which contains boost graph. Do I have to do some special works to do that?


Solution

  • There should be nothing special about boost graphs when it comes to serialization.

    Looking at the docs there are examples for arrays and stl containers.

    Give it a try and post a more specific questions when you run into trouble.