Serialize boost::bimap with boost::dynamic_bitset as key value pair
问题 I am interested to serialize a boost::bimap containing boost::dynamic_bitset so that I can save that and load back when needed. I have made an attempt to do that but I get many errors. The code that I have with me is as below. // Example program #include <iostream> #include <string> #include <fstream> #include <boost/bimap.hpp> #include <boost/dynamic_bitset.hpp> #include <boost/bimap/unordered_set_of.hpp> #include <boost/bimap/unordered_multiset_of.hpp> #include <boost/archive/binary