I've moved one of my member variables from a std::map to a boost::unordered_map for the performance benefits on insertion. However, this has broken my use of boost serialization for export/importing from an archive.
I've tried looking but can't find it anyway, I was wondering if there was a header I could include that would provide serialization to this class?
Many thanks.
Have a look at unordered_map_serialization.h in my distributed opening book learning project. It should be what you're looking for.
I saw someone replaced map with unordered_map in serialization/map.hpp and this worked
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With